[Svn] r4639 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Mon Apr 11 12:53:58 CEST 2011


Author: alec
Date: 2011-04-11 05:53:58 -0500 (Mon, 11 Apr 2011)
New Revision: 4639

Modified:
   trunk/roundcubemail/program/include/rcube_shared.inc
Log:
- Support 'off' as bolean false


Modified: trunk/roundcubemail/program/include/rcube_shared.inc
===================================================================
--- trunk/roundcubemail/program/include/rcube_shared.inc	2011-04-08 07:44:19 UTC (rev 4638)
+++ trunk/roundcubemail/program/include/rcube_shared.inc	2011-04-11 10:53:58 UTC (rev 4639)
@@ -140,7 +140,7 @@
 function get_boolean($str)
 {
   $str = strtolower($str);
-  if (in_array($str, array('false', '0', 'no', 'nein', ''), TRUE))
+  if (in_array($str, array('false', '0', 'no', 'off', 'nein', ''), TRUE))
     return FALSE;
   else
     return TRUE;

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list