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