From cc210e9dae1cd74ab1ef01dab67b0cb9b0a25f39 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 22 Feb 2008 16:42:20 +0000 Subject: [PATCH] config->save_value() was overwriting the cached array values with a single value --- phpgwapi/inc/class.config.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.config.inc.php b/phpgwapi/inc/class.config.inc.php index f1c3b8c0ee..e257b0d482 100755 --- a/phpgwapi/inc/class.config.inc.php +++ b/phpgwapi/inc/class.config.inc.php @@ -130,7 +130,7 @@ class config if (isset(self::$configs[$app])) { - self::$configs[$app] = $value; + self::$configs[$app][$name] = $value; } if(is_array($value)) { @@ -281,4 +281,4 @@ class config config::$db->set_app('phpgwapi'); } } -config::init_static(); \ No newline at end of file +config::init_static();