From: tjhunt Date: Tue, 2 Oct 2007 13:32:51 +0000 (+0000) Subject: MDL-11552 - Oops, I missed one bit when merging from OU Moodle. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=325898c61eac6ed84f5ededb52c56b3d614c2c62;p=moodle.git MDL-11552 - Oops, I missed one bit when merging from OU Moodle. --- diff --git a/admin/settings/top.php b/admin/settings/top.php index a3b6e15e34..2f81754b5a 100644 --- a/admin/settings/top.php +++ b/admin/settings/top.php @@ -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')));