From 1d3ca74a78604095224fb4e887d2345bb92a6012 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Fri, 17 Aug 2007 23:14:30 +0000 Subject: [PATCH] Typo in error message git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40452 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/control/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/control/Controller.php b/core/control/Controller.php index c3584278c..68581d399 100644 --- a/core/control/Controller.php +++ b/core/control/Controller.php @@ -365,7 +365,7 @@ class Controller extends ViewableData { if($this == self::$controller_stack[0]) { array_shift(self::$controller_stack); } else { - user_error("popCurrent called on $this->Controller controller, but it wasn't at the top of the stack", E_USER_WARNING); + user_error("popCurrent called on $this->class controller, but it wasn't at the top of the stack", E_USER_WARNING); } }