Fix config check for checkboxes

This commit is contained in:
Miles Lott 2001-06-21 21:05:03 +00:00
parent 38e1b201d7
commit 45e2e970d8

View File

@ -104,6 +104,7 @@
$t->set_var($value,$current_config[$newval]);
break;
case "checked":
$newval = ereg_replace(' ','_',$newval);
if ($current_config[$newval])
{
$t->set_var($value,' checked');