|
@@ 1868-1869 (lines=2) @@
|
| 1865 |
|
pods_error( __( 'Invalid field request', 'pods' ), PodsInit::$admin ); |
| 1866 |
|
elseif ( 'pick' != $field[ 'type' ] || empty( $field[ 'table_info' ] ) ) |
| 1867 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1868 |
|
elseif ( 'single' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_single', $field ) ) |
| 1869 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1870 |
|
elseif ( 'multi' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $field ) ) |
| 1871 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1872 |
|
|
|
@@ 1870-1871 (lines=2) @@
|
| 1867 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1868 |
|
elseif ( 'single' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_single', $field ) ) |
| 1869 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1870 |
|
elseif ( 'multi' == pods_var( self::$type . '_format_type', $field ) && 'autocomplete' == pods_var( self::$type . '_format_multi', $field ) ) |
| 1871 |
|
pods_error( __( 'Invalid field', 'pods' ), PodsInit::$admin ); |
| 1872 |
|
|
| 1873 |
|
$object_params = array( |
| 1874 |
|
'name' => $field[ 'name' ], // The name of the field |