From: Alan Knowles Date: Thu, 16 Dec 2010 08:23:35 +0000 (+0800) Subject: Pman.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=82f3e98e5329934293d985f4eb0b1d05781ee83b;hp=1263c8c639d299623e94a3b9bfd7ebab87b6f681;p=Pman.Base Pman.php --- diff --git a/Pman.php b/Pman.php index 7655ed6..44759cb 100644 --- a/Pman.php +++ b/Pman.php @@ -490,7 +490,7 @@ class Pman extends HTML_FlexyFramework_Page { $mods = explode(',', $this->appModules); - if (!in_array('Core',$this->appModules)) { + if (in_array('Core',$mods)) { // core has to be the first modules loaded as it contains Pman.js array_unshift($mods, 'Core'); }