1
0
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:
Cameron 2017-04-12 15:32:35 -07:00
parent 5179e09bbc
commit ff61316f31

View File

@ -2425,7 +2425,8 @@ class e_form
}
$switchName = $name . '__switch';
$switchName = $this->name2id($name) . '__switch'; // fixes array names.
$switchAttributes = array(
'data-type' => 'switch',