From 16b1df4f67d6c7191795983c65d5232ec360b91b Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 16 Mar 2009 07:40:57 +0000 Subject: Illegal use of $this in static function site(). Replace with $theme. --- core/helpers/core_menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers') diff --git a/core/helpers/core_menu.php b/core/helpers/core_menu.php index e372cc72..2da94c6d 100644 --- a/core/helpers/core_menu.php +++ b/core/helpers/core_menu.php @@ -79,7 +79,7 @@ class core_menu_Core { } $class = "{$module->name}_menu"; if (method_exists($class, "admin")) { - call_user_func_array(array($class, "admin"), array(&$admin_menu, $this)); + call_user_func_array(array($class, "admin"), array(&$admin_menu, $theme)); } } } -- cgit v1.2.3