From 1b5b1404294001fd1738d4ab47ab89041c89fcb7 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 3 May 2010 04:32:18 +0000 Subject: [PATCH] BUGFIX Fixed SS_Report::unregister() parameter naming (fixes #5511, thanks ktauber) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103932 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/Report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Report.php b/code/Report.php index 0b4488bf..a004199d 100644 --- a/code/Report.php +++ b/code/Report.php @@ -308,7 +308,7 @@ class SS_Report extends ViewableData { /** * Unregister a report, removing it from the list */ - static function unregister($list, $identifier) { + static function unregister($list, $reportClass) { unset(self::$registered_reports[$list][$reportClass]); }