fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15817] config: allow "0"


From: sigurdne
Subject: [Fmsystem-commits] [15817] config: allow "0"
Date: Wed, 12 Oct 2016 17:20:48 +0000 (UTC)

Revision: 15817
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15817
Author:   sigurdne
Date:     2016-10-12 17:20:48 +0000 (Wed, 12 Oct 2016)
Log Message:
-----------
config: allow "0"

Modified Paths:
--------------
    trunk/admin/inc/class.uiconfig.inc.php

Modified: trunk/admin/inc/class.uiconfig.inc.php
===================================================================
--- trunk/admin/inc/class.uiconfig.inc.php      2016-10-12 15:17:56 UTC (rev 
15816)
+++ trunk/admin/inc/class.uiconfig.inc.php      2016-10-12 17:20:48 UTC (rev 
15817)
@@ -93,7 +93,7 @@
 
                                while (list($key,$config) = 
each($_POST['newsettings']))
                                {
-                                       if ($config)
+                                       if ($config || $config === '0')
                                        {
                                                
if(isset($GLOBALS['phpgw_info']['server']['found_validation_hook']) && 
$GLOBALS['phpgw_info']['server']['found_validation_hook'] && 
function_exists($key))
                                                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]