|
@@ 3680-3682 (lines=3) @@
|
| 3677 |
|
|
| 3678 |
|
$related_limit = (int) pods_var_raw( $type . '_limit', $fields[ $field ][ 'options' ], 0 ); |
| 3679 |
|
|
| 3680 |
|
if ( 'single' == pods_var_raw( $type . '_format_type', $fields[ $field ][ 'options' ] ) ) { |
| 3681 |
|
$related_limit = 1; |
| 3682 |
|
} |
| 3683 |
|
|
| 3684 |
|
// Enforce integers / unique values for IDs |
| 3685 |
|
$value_ids = array(); |
|
@@ 4042-4043 (lines=2) @@
|
| 4039 |
|
|
| 4040 |
|
$related_limit = (int) pods_var_raw( $field[ 'type' ] . '_limit', $field[ 'options' ], 0 ); |
| 4041 |
|
|
| 4042 |
|
if ( 'single' == pods_var_raw( $field[ 'type' ] . '_format_type', $field[ 'options' ] ) ) |
| 4043 |
|
$related_limit = 1; |
| 4044 |
|
|
| 4045 |
|
// Limit values |
| 4046 |
|
if ( 0 < $related_limit && !empty( $related_ids ) ) |