From: skodak Date: Fri, 25 Apr 2008 14:03:17 +0000 (+0000) Subject: MDL-14475 initialised $hideshow; backported from MOODLE_19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=530db4cd1718cd139288276aebe585e3ba805212;p=moodle.git MDL-14475 initialised $hideshow; backported from MOODLE_19_STABLE --- diff --git a/course/lib.php b/course/lib.php index d550855c2b..e2d59b3d4d 100644 --- a/course/lib.php +++ b/course/lib.php @@ -2395,7 +2395,10 @@ function make_editing_buttons($mod, $absolute=false, $moveselect=true, $indent=- ' src="'.$CFG->pixpath.'/t/show.gif" class="iconsmall" '. ' alt="'.$str->show.'" />'."\n"; } + } else { + $hideshow = ''; } + if ($mod->groupmode !== false) { if ($mod->groupmode == SEPARATEGROUPS) { $grouptitle = $str->groupsseparate;