|
@@ 3667-3669 (lines=3) @@
|
| 3664 |
|
|
| 3665 |
|
$related_limit = (int) pods_var_raw( $type . '_limit', $fields[ $field ][ 'options' ], 0 ); |
| 3666 |
|
|
| 3667 |
|
if ( 'single' == pods_var_raw( $type . '_format_type', $fields[ $field ][ 'options' ] ) ) { |
| 3668 |
|
$related_limit = 1; |
| 3669 |
|
} |
| 3670 |
|
|
| 3671 |
|
// Enforce integers / unique values for IDs |
| 3672 |
|
$value_ids = array(); |
|
@@ 3948-3949 (lines=2) @@
|
| 3945 |
|
|
| 3946 |
|
$related_limit = (int) pods_var_raw( $field[ 'type' ] . '_limit', $field[ 'options' ], 0 ); |
| 3947 |
|
|
| 3948 |
|
if ( 'single' == pods_var_raw( $field[ 'type' ] . '_format_type', $field[ 'options' ] ) ) |
| 3949 |
|
$related_limit = 1; |
| 3950 |
|
|
| 3951 |
|
// Limit values |
| 3952 |
|
if ( 0 < $related_limit && !empty( $related_ids ) ) |