summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-16 07:40:57 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-16 07:40:57 +0000
commit16b1df4f67d6c7191795983c65d5232ec360b91b (patch)
treed8732cbfd04b8dc048e660ab6651eea64064da3b /core/helpers
parentf25ff87ba9061f9df4e8f1a11bbd5f536e476bf4 (diff)
Illegal use of $this in static function site(). Replace with $theme.
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/core_menu.php2
1 files changed, 1 insertions, 1 deletions
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));
}
}
}