initialized objects

This commit is contained in:
Petr Skoda
2010-09-17 19:11:24 +00:00
parent e1513ca905
commit 182a8a83c4
+1
View File
@@ -106,6 +106,7 @@ if (!is_null($category) && !is_null($aggregationtype) && confirm_sesskey()) {
print_error('invalidcategoryid');
}
$data = new object();
$data->aggregation = $aggregationtype;
grade_category::set_properties($grade_category, $data);
$grade_category->update();