From 746855cf48e51565e70ed332fac9025865c52d8d Mon Sep 17 00:00:00 2001 From: Ben Coburn Date: Mon, 10 Jul 2006 11:18:20 +0200 Subject: cleanup undefined constant notices Undefined constants replaced with strings, see http://www.php.net/manual/en/language.types.array.php#language.types.array.foo-bar darcs-hash:20060710091820-05dcb-cfccff2bdd633b929470c60d8eee096f50ab4c18.gz --- lib/plugins/plugin/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/plugins/plugin') diff --git a/lib/plugins/plugin/admin.php b/lib/plugins/plugin/admin.php index a69961c65..b4c9361b1 100644 --- a/lib/plugins/plugin/admin.php +++ b/lib/plugins/plugin/admin.php @@ -452,7 +452,7 @@ class ap_manage { if (!$this->manager->plugin) { return; } $component_list = ap_plugin_components($this->manager->plugin); - usort($component_list, ap_component_sort); + usort($component_list, 'ap_component_sort'); foreach ($component_list as $component) { if ($obj = & plugin_load($component['type'],$component['name']) === NULL) continue; -- cgit v1.2.3