commit f2a2360ffeccccf0496f6564825298bebb28989e parent c758036f7dbc6eda77b7f2dd76a51fbc9b642570 Author: Jan Dankert <develop@jandankert.de> Date: Sat, 22 Feb 2020 23:01:34 +0100 Fix: Variables may not be set in templates. Diffstat:
modules/template_engine/components/html/checkbox/Checkbox.class.php | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/template_engine/components/html/checkbox/Checkbox.class.php b/modules/template_engine/components/html/checkbox/Checkbox.class.php @@ -28,7 +28,7 @@ class CheckboxComponent extends Component if ( $this->default ) $checkbox->addAttribute('checked',$this->default); else { - $condition = '$'.$this->name; + $condition = '@$'.$this->name; $checkbox->addConditionalAttribute('checked', $condition, '1'); }