Code Duplication    Length = 6-6 lines in 3 locations

classes/Pods.php 3 locations

@@ 3019-3024 (lines=6) @@
3016
3017
		$id = $this->api->save_pod_item( $params );
3018
3019
		if ( 0 < $id && $fetch ) {
3020
			// Clear local var cache of field values.
3021
			$pod->data->row = array();
3022
3023
			$pod->fetch( $id, false );
3024
		}
3025
3026
		return $id;
3027
	}
@@ 3156-3161 (lines=6) @@
3153
3154
		$id = $this->api->save_pod_item( $params );
3155
3156
		if ( 0 < $id && $fetch ) {
3157
			// Clear local var cache of field values.
3158
			$pod->data->row = array();
3159
3160
			$pod->fetch( $id, false );
3161
		}
3162
3163
		return $id;
3164
@@ 3228-3233 (lines=6) @@
3225
3226
		$id = $this->api->save_pod_item( $params );
3227
3228
		if ( 0 < $id && $fetch ) {
3229
			// Clear local var cache of field values.
3230
			$this->data->row = array();
3231
3232
			$this->fetch( $id, false );
3233
		}
3234
3235
		if ( ! empty( $this->pod_data['field_slug'] ) ) {
3236
			if ( 0 < $id && $fetch ) {