|
|
CVS: squirrelmail/functions global.php,1.70,1.71: msg#00064
|
Subject: |
CVS: squirrelmail/functions global.php,1.70,1.71 |
Update of /cvsroot/squirrelmail/squirrelmail/functions
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv26052/functions
Modified Files:
global.php
Log Message:
Default was overriding legitimate values in sqgetGlobalVar due to recent
addition of typecast logic
Index: global.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/functions/global.php,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -w -r1.70 -r1.71
--- global.php 18 Sep 2006 11:30:00 -0000 1.70
+++ global.php 19 Sep 2006 14:26:46 -0000 1.71
@@ -209,7 +209,7 @@
case SQ_TYPE_BOOL: $value = (bool) $value; break;
default: break;
}
- } else if (!is_null($default)) {
+ } else if (!$result && !is_null($default)) {
$value = $default;
}
return $result;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|
| |