fix: noverify --fix
This commit is contained in:
parent
5aff28d2b8
commit
117640a755
44 changed files with 174 additions and 174 deletions
|
|
@ -8,7 +8,7 @@ class SelectMany extends Select
|
|||
function setValue($value)
|
||||
{
|
||||
// Установить selected у options
|
||||
if (!is_array($value)) { $value = array($value); }
|
||||
if (!is_array($value)) { $value = [$value]; }
|
||||
$this->value = $value;
|
||||
foreach ($this->options as &$option) {
|
||||
$option['selected'] = (in_array($option['value'], $value));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue