From b9cc756ef3a8b02d49feeaeb37d0ca928659f5d6 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Wed, 3 Feb 2010 02:26:44 +0000 Subject: [PATCH] grader report MDL-21367 when an item is unhidden its category should unhide to --- grade/lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grade/lib.php b/grade/lib.php index 0e8a10112c2..86b95fc0189 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -1498,7 +1498,8 @@ class grade_structure { } $url->param('action', 'show'); - $hideicon = $OUTPUT->action_icon($url, $title, 't/'.$type, array('alt'=>$strshow, 'class'=>'iconsmall')); + + $hideicon = $OUTPUT->action_icon($url, $tooltip, 't/'.$type, array('alt'=>$strshow, 'class'=>'iconsmall')); } else { $url->param('action', 'hide');