From 1b82253c24dc147f2155c189d00199a6472a5560 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 16 Dec 2010 16:18:39 +0800 Subject: [PATCH] Pman.php --- Pman.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Pman.php b/Pman.php index b3646aa..6415a8e 100644 --- a/Pman.php +++ b/Pman.php @@ -490,7 +490,10 @@ class Pman extends HTML_FlexyFramework_Page { $mods = explode(',', $this->appModules); - array_unshift($mods, 'Core'); + if (!in_array('Core',$this->appModules)) { + array_unshift($mods, 'Core'); + } + $mods = array_unique($mods); -- 2.39.2