]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11552 - Oops, I missed one bit when merging from OU Moodle.
authortjhunt <tjhunt>
Tue, 2 Oct 2007 13:32:51 +0000 (13:32 +0000)
committertjhunt <tjhunt>
Tue, 2 Oct 2007 13:32:51 +0000 (13:32 +0000)
admin/settings/top.php

index a3b6e15e3486ba8911a241f182244638a3c04b49..2f81754b5afb32cfe835ac250aebf5fc068596f1 100644 (file)
@@ -41,7 +41,7 @@ foreach (get_list_of_plugins('admin/report') as $plugin) {
     if ($reportname[1] == '[') {
         $reportname = get_string($plugin, 'admin');
     }
-    $ADMIN->add('reports', new admin_externalpage('report'.$plugin, get_string($plugin, 'admin'), "$CFG->wwwroot/$CFG->admin/report/$plugin/index.php"));
+    $ADMIN->add('reports', new admin_externalpage('report'.$plugin, $reportname, "$CFG->wwwroot/$CFG->admin/report/$plugin/index.php"));
 }
 
 $ADMIN->add('root', new admin_category('misc', get_string('miscellaneous')));