Code Duplication    Length = 7-7 lines in 2 locations

classes/Pods.php 2 locations

@@ 2000-2006 (lines=7) @@
1997
					}
1998
				}
1999
			}//end if
2000
		} elseif ( in_array( $this->fields[ $field ]['type'], PodsForm::text_field_types(), true ) ) {
2001
			// Text fields.
2002
			$current_value = $pod->raw( $field );
2003
2004
			if ( 0 < strlen( $current_value ) ) {
2005
				return stripos( $current_value, $value );
2006
			}
2007
		} else {
2008
			// All other fields.
2009
			return $this->is( $field, $value, $id );
@@ 2999-3005 (lines=7) @@
2996
			} else {
2997
				$value = strtotime( $value );
2998
			}
2999
		} elseif ( in_array( $this->fields[ $field ]['type'], PodsForm::text_field_types(), true ) ) {
3000
			// Text fields.
3001
			$current_value = $pod->raw( $field );
3002
3003
			if ( 0 < strlen( $current_value ) ) {
3004
				$value = $current_value . $value;
3005
			}
3006
		}//end if
3007
3008
		// @todo handle object fields and taxonomies.