From 530db4cd1718cd139288276aebe585e3ba805212 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 25 Apr 2008 14:03:17 +0000 Subject: [PATCH] MDL-14475 initialised $hideshow; backported from MOODLE_19_STABLE --- course/lib.php | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5