From 35d193886a94fadfb784726a63c0f617a60815c9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 17 Sep 2018 10:12:53 +0800 Subject: [PATCH] Pman.php --- Pman.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pman.php b/Pman.php index 25b78c7..02e194a 100644 --- a/Pman.php +++ b/Pman.php @@ -143,6 +143,7 @@ class Pman extends HTML_FlexyFramework_Page function callModules($fn) { $args = func_get_args(); + array_shift($args); foreach(explode(',',$this->appModules) as $m) { $cls = 'Pman_'. $m . '_Pman'; if (!file_exists($this->rootDir . '/'.str_replace('_','/', $cls). '.php')) { @@ -744,7 +745,7 @@ class Pman extends HTML_FlexyFramework_Page $this->outputCSSDir("Pman/$mod","*.css"); } - $this->callModules('outputCSSIncludes', false); + $this->callModules('outputCSSIncludes', $this); } -- 2.39.2