|
@@ 3645-3647 (lines=3) @@
|
| 3642 |
|
|
| 3643 |
|
$related_limit = (int) pods_var_raw( $type . '_limit', $fields[ $field ][ 'options' ], 0 ); |
| 3644 |
|
|
| 3645 |
|
if ( 'single' == pods_var_raw( $type . '_format_type', $fields[ $field ][ 'options' ] ) ) { |
| 3646 |
|
$related_limit = 1; |
| 3647 |
|
} |
| 3648 |
|
|
| 3649 |
|
// Enforce integers / unique values for IDs |
| 3650 |
|
$value_ids = array(); |
|
@@ 3921-3922 (lines=2) @@
|
| 3918 |
|
|
| 3919 |
|
$related_limit = (int) pods_var_raw( $field[ 'type' ] . '_limit', $field[ 'options' ], 0 ); |
| 3920 |
|
|
| 3921 |
|
if ( 'single' == pods_var_raw( $field[ 'type' ] . '_format_type', $field[ 'options' ] ) ) |
| 3922 |
|
$related_limit = 1; |
| 3923 |
|
|
| 3924 |
|
// Limit values |
| 3925 |
|
if ( 0 < $related_limit && !empty( $related_ids ) ) |