|
@@ 1883-1884 (lines=2) @@
|
| 1880 |
|
pods_error( __( 'Invalid field request', 'pods' ), PodsInit::$admin ); |
| 1881 |
|
elseif ( 'pick' != $field[ 'type' ] || empty( $field[ 'table_info' ] ) ) |
| 1882 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1883 |
|
elseif ( 'single' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_single', $field ) ) |
| 1884 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1885 |
|
elseif ( 'multi' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $field ) ) |
| 1886 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1887 |
|
|
|
@@ 1885-1886 (lines=2) @@
|
| 1882 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1883 |
|
elseif ( 'single' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_single', $field ) ) |
| 1884 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1885 |
|
elseif ( 'multi' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $field ) ) |
| 1886 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1887 |
|
|
| 1888 |
|
$object_params = array( |
| 1889 |
|
'name' => $field[ 'name' ], // The name of the field |