]> git.mjollnir.org Git - moodle.git/commit
MDL-9506 Fixed a bug with the fetch method. This method should not be called statical...
authornicolasconnault <nicolasconnault>
Fri, 11 May 2007 02:43:46 +0000 (02:43 +0000)
committernicolasconnault <nicolasconnault>
Fri, 11 May 2007 02:43:46 +0000 (02:43 +0000)
commit1d4b666828e73092c46e6ec7183d4cc1f02c875f
tree75caa9e98812b8c095b96d4224bc0fde405f100d
parentb55997c11226333580b78fabb02ae85d037ee9a7
MDL-9506 Fixed a bug with the fetch method. This method should not be called statically when setting an internal object. For example, when the grade_category is calling its load_parent_category, it should not call grade_category::fetch, but new grade_category. Otherwise, the method assigns the new variables to the calling object.
lib/grade/grade_category.php
lib/simpletest/grade/simpletest/testgradecategory.php