mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Form: Fix for flipswitch using array names. ie. myfield[key]
This commit is contained in:
parent
5179e09bbc
commit
ff61316f31
@ -2425,7 +2425,8 @@ class e_form
|
||||
|
||||
}
|
||||
|
||||
$switchName = $name . '__switch';
|
||||
|
||||
$switchName = $this->name2id($name) . '__switch'; // fixes array names.
|
||||
|
||||
$switchAttributes = array(
|
||||
'data-type' => 'switch',
|
||||
|
Loading…
x
Reference in New Issue
Block a user