|
@@ 3033-3038 (lines=6) @@
|
| 3030 |
|
|
| 3031 |
|
$id = $this->api->save_pod_item( $params ); |
| 3032 |
|
|
| 3033 |
|
if ( 0 < $id && $fetch ) { |
| 3034 |
|
// Clear local var cache of field values. |
| 3035 |
|
$pod->data->row = array(); |
| 3036 |
|
|
| 3037 |
|
$pod->fetch( $id, false ); |
| 3038 |
|
} |
| 3039 |
|
|
| 3040 |
|
return $id; |
| 3041 |
|
} |
|
@@ 3170-3175 (lines=6) @@
|
| 3167 |
|
|
| 3168 |
|
$id = $this->api->save_pod_item( $params ); |
| 3169 |
|
|
| 3170 |
|
if ( 0 < $id && $fetch ) { |
| 3171 |
|
// Clear local var cache of field values. |
| 3172 |
|
$pod->data->row = array(); |
| 3173 |
|
|
| 3174 |
|
$pod->fetch( $id, false ); |
| 3175 |
|
} |
| 3176 |
|
|
| 3177 |
|
return $id; |
| 3178 |
|
|
|
@@ 3242-3247 (lines=6) @@
|
| 3239 |
|
|
| 3240 |
|
$id = $this->api->save_pod_item( $params ); |
| 3241 |
|
|
| 3242 |
|
if ( 0 < $id && $fetch ) { |
| 3243 |
|
// Clear local var cache of field values. |
| 3244 |
|
$this->data->row = array(); |
| 3245 |
|
|
| 3246 |
|
$this->fetch( $id, false ); |
| 3247 |
|
} |
| 3248 |
|
|
| 3249 |
|
if ( ! empty( $this->pod_data['field_slug'] ) ) { |
| 3250 |
|
if ( 0 < $id && $fetch ) { |