From 52ba9a07ac1ccc8a6afd7087109769fd665b45fa Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 5 Jul 2005 14:46:53 +0000 Subject: [PATCH] fixed array_merge fix :( --- lam/lib/modules.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 8c1f9c1f..ffbdb33f 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -1379,7 +1379,8 @@ class accountContainer { } } // Write Module-Order in variable - $this->order = array_unshift($order, 'main'); + array_unshift($order, 'main'); + $this->order = $order; return 0; } @@ -1413,7 +1414,8 @@ class accountContainer { } } // Write Module-Order in variable - $this->order = array_unshift($order, 'main'); + array_unshift($order, 'main'); + $this->order = $order; $profile = loadAccountProfile('default', $this->type); // pass profile to each module $modules = array_keys($this->module);