From 02c51aa379b1ca8dcee4e8be4bda9f2fb929e27e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 6 Dec 2005 07:04:43 +0000 Subject: [PATCH] fixed array message when saving prefs --- preferences/inc/class.uisettings.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/preferences/inc/class.uisettings.inc.php b/preferences/inc/class.uisettings.inc.php index 86185082c8..7ea17a31c9 100755 --- a/preferences/inc/class.uisettings.inc.php +++ b/preferences/inc/class.uisettings.inc.php @@ -125,6 +125,8 @@ { $error = $this->bo->process_array($GLOBALS['egw']->preferences->forced, $forced,$this->bo->session_data['notifies'],$GLOBALS['type']); } + + if (is_array($error)) $error = false; // process_array returns the prefs-array on success if(!$this->is_admin() || $error) {