]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15085
authorthepurpleblob <thepurpleblob>
Mon, 2 Jun 2008 09:41:45 +0000 (09:41 +0000)
committerthepurpleblob <thepurpleblob>
Mon, 2 Jun 2008 09:41:45 +0000 (09:41 +0000)
String points to correct module now

lib/grade/grade_object.php

index 97a7114a91de0978457d9385a193279cca74c0dd..3b6f20256889ef64fde6d082d7c0eb6f92b85387 100644 (file)
@@ -132,7 +132,7 @@ abstract class grade_object {
         if ($instances = grade_object::fetch_all_helper($table, $classname, $params)) {
             if (count($instances) > 1) {
                 // we should not tolerate any errors here - problems might appear later
-                print_error('morethanonerecordinfetch');
+                print_error('morethanonerecordinfetch','debug');
             }
             return reset($instances);
         } else {