From: skodak Date: Wed, 15 Mar 2006 20:50:05 +0000 (+0000) Subject: fixed debug warning X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f89f924e03b27f5deda8db2a1260cf4f022292f9;p=moodle.git fixed debug warning --- 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);