@@ 1846-1847 (lines=2) @@ | ||
1843 | pods_error( __( 'Invalid field request', 'pods' ), PodsInit::$admin ); |
|
1844 | elseif ( 'pick' != $field[ 'type' ] || empty( $field[ 'table_info' ] ) ) |
|
1845 | pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
|
1846 | elseif ( 'single' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_single', $field ) ) |
|
1847 | pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
|
1848 | elseif ( 'multi' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $field ) ) |
|
1849 | pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
|
1850 | ||
@@ 1848-1849 (lines=2) @@ | ||
1845 | pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
|
1846 | elseif ( 'single' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_single', $field ) ) |
|
1847 | pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
|
1848 | elseif ( 'multi' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $field ) ) |
|
1849 | pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
|
1850 | ||
1851 | $object_params = array( |
|
1852 | 'name' => $field[ 'name' ], // The name of the field |