MDL-18931 removed PHP5 syntaxt function()->function()

This commit is contained in:
uid536
2009-04-22 19:45:03 +00:00
parent 1d375abe68
commit 45b80481ef
+2 -1
View File
@@ -254,7 +254,8 @@ class edit_item_form extends moodleform {
} else {
if ($grade_item->is_category_item()) {
$parent_category = $parent_category->get_parent_category();
$coefstring = $parent_category->get_grade_item()->get_coefstring();
$parent_item = $parent_category->get_grade_item();
$coefstring = $parent_item->get_coefstring();
} else {
$parent_category->apply_forced_settings();
$coefstring = $grade_item->get_coefstring();