diff options
-rw-r--r-- | etc/inc/shaper.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 80303a3..dd2c072 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3355,8 +3355,8 @@ class layer7 { $form = "<tr><td valign=\"top\" class=\"vncellreq\"><br>"; $form .= "Enable/Disable"; $form .= "</td><td class=\"vncellreq\">"; - $form .= " <input type=\"checkbox\" id=\"enabled\" name=\"enabled\""; - if ($this->GetREnabled()) { + $form .= " <input type=\"checkbox\" id=\"enabled\" name=\"enabled\" value=\"on\" "; + if ($this->GetREnabled() == "on") { $form .= "checked = \"CHECKED\""; } $form .= " ><span class=\"vexpl\"> Enable/Disable layer7 Container</span>"; |