|
@@ 1963-1964 (lines=2) @@
|
| 1960 |
|
pods_error( __( 'Invalid field request', 'pods' ), PodsInit::$admin ); |
| 1961 |
|
elseif ( 'pick' != $field[ 'type' ] || empty( $field[ 'table_info' ] ) ) |
| 1962 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1963 |
|
elseif ( 'single' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_single', $field ) ) |
| 1964 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1965 |
|
elseif ( 'multi' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $field ) ) |
| 1966 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1967 |
|
|
|
@@ 1965-1966 (lines=2) @@
|
| 1962 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1963 |
|
elseif ( 'single' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_single', $field ) ) |
| 1964 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1965 |
|
elseif ( 'multi' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $field ) ) |
| 1966 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1967 |
|
|
| 1968 |
|
$object_params = array( |
| 1969 |
|
'name' => $field[ 'name' ], // The name of the field |