mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Form: Fix for flipswitch using array names. ie. myfield[key]
This commit is contained in:
@@ -2425,7 +2425,8 @@ class e_form
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$switchName = $name . '__switch';
|
|
||||||
|
$switchName = $this->name2id($name) . '__switch'; // fixes array names.
|
||||||
|
|
||||||
$switchAttributes = array(
|
$switchAttributes = array(
|
||||||
'data-type' => 'switch',
|
'data-type' => 'switch',
|
||||||
|
Reference in New Issue
Block a user