|
@@ 3003-3008 (lines=6) @@
|
| 3000 |
|
|
| 3001 |
|
$id = $this->api->save_pod_item( $params ); |
| 3002 |
|
|
| 3003 |
|
if ( 0 < $id && $fetch ) { |
| 3004 |
|
// Clear local var cache of field values |
| 3005 |
|
$pod->data->row = array(); |
| 3006 |
|
|
| 3007 |
|
$pod->fetch( $id, false ); |
| 3008 |
|
} |
| 3009 |
|
|
| 3010 |
|
return $id; |
| 3011 |
|
} |
|
@@ 3139-3144 (lines=6) @@
|
| 3136 |
|
|
| 3137 |
|
$id = $this->api->save_pod_item( $params ); |
| 3138 |
|
|
| 3139 |
|
if ( 0 < $id && $fetch ) { |
| 3140 |
|
// Clear local var cache of field values |
| 3141 |
|
$pod->data->row = array(); |
| 3142 |
|
|
| 3143 |
|
$pod->fetch( $id, false ); |
| 3144 |
|
} |
| 3145 |
|
|
| 3146 |
|
return $id; |
| 3147 |
|
|
|
@@ 3210-3215 (lines=6) @@
|
| 3207 |
|
|
| 3208 |
|
$id = $this->api->save_pod_item( $params ); |
| 3209 |
|
|
| 3210 |
|
if ( 0 < $id && $fetch ) { |
| 3211 |
|
// Clear local var cache of field values |
| 3212 |
|
$this->data->row = array(); |
| 3213 |
|
|
| 3214 |
|
$this->fetch( $id, false ); |
| 3215 |
|
} |
| 3216 |
|
|
| 3217 |
|
if ( ! empty( $this->pod_data['field_slug'] ) ) { |
| 3218 |
|
if ( 0 < $id && $fetch ) { |