From 03e9bb126da8b4e53e97f5a55bd817c5a8211c98 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 3 Oct 2003 10:00:21 +0000 Subject: [PATCH] fixed add for numerical values --- phpgwapi/inc/class.preferences.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.preferences.inc.php b/phpgwapi/inc/class.preferences.inc.php index 358a2d97ee..2d6a0f0f9f 100644 --- a/phpgwapi/inc/class.preferences.inc.php +++ b/phpgwapi/inc/class.preferences.inc.php @@ -312,7 +312,7 @@ function add($app_name,$var,$value = '##undef##',$type='user') { //echo "

add('$app_name','$var','$value')

\n"; - if ($value == '##undef##') + if ($value === '##undef##') { global $$var; $value = $$var;