From f89f924e03b27f5deda8db2a1260cf4f022292f9 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 15 Mar 2006 20:50:05 +0000 Subject: [PATCH] fixed debug warning --- lib/weblib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/weblib.php b/lib/weblib.php index 05828ff102..8b8f3e8193 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -823,6 +823,8 @@ function print_checkbox ($name, $value, $checked = true, $label = '', $alt = '', if ($checked) { $strchecked = ' checked="checked"'; + } else { + $strchecked = ''; } $htmlid = 'auto-cb'.sprintf('%04d', ++$idcounter); -- 2.39.5