|
@@ -9,7 +9,7 @@ |
|
|
block discarded – undo |
|
9
|
9
|
$primaryValue = isset($options['value']) ? $options['value'] : null; |
|
10
|
10
|
$primaryValue = is_array($primaryValue) && isset($primaryValue['primary']) ? $primaryValue['primary'] : $primaryValue; |
|
11
|
11
|
if (is_numeric($key) && !is_array($primaryValue) && $primaryValue !== '') { |
|
12
|
|
- $primaryValue = (int)$primaryValue; |
|
|
12
|
+ $primaryValue = (int) $primaryValue; |
|
13
|
13
|
} |
|
14
|
14
|
if ( |
|
15
|
15
|
(!is_array($primaryValue) && ($key === $primaryValue || (isset($form->userDataTree[$name]) && $form->userDataTree[$name] === $key))) || |
Please login to merge, or discard this patch.