From: skodak Date: Thu, 30 Apr 2009 09:14:55 +0000 (+0000) Subject: MDL-19016 xhtml strict fix X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bccbd82fb83a713af124c7a5a8acea6c1759fb04;p=moodle.git MDL-19016 xhtml strict fix --- diff --git a/grade/edit/tree/category_form.php b/grade/edit/tree/category_form.php index fbfaa196c0..173f0f7929 100644 --- a/grade/edit/tree/category_form.php +++ b/grade/edit/tree/category_form.php @@ -363,6 +363,13 @@ class edit_category_form extends moodleform { } } } + + } else { + // adding new category + + if ($mform->elementExists('currentparentaggregation')) { + $mform->removeElement('currentparentaggregation'); + } }