[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17588]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17588] |
Date: |
Mon, 15 Jan 2018 20:52:37 -0500 (EST) |
Revision: 17588
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17588
Author: nelson224
Date: 2018-01-15 20:52:37 -0500 (Mon, 15 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/addressbook/inc/class.boaddressbook.inc.php
Modified: branches/dev-syncromind/addressbook/inc/class.boaddressbook.inc.php
===================================================================
--- branches/dev-syncromind/addressbook/inc/class.boaddressbook.inc.php
2018-01-16 01:52:21 UTC (rev 17587)
+++ branches/dev-syncromind/addressbook/inc/class.boaddressbook.inc.php
2018-01-16 01:52:37 UTC (rev 17588)
@@ -771,8 +771,11 @@
if (is_array($prefs))
{
/* _debug_array($prefs);exit; */
- while (list($pref,$x) = each($qfields))
- {
+ //while (list($pref,$x) = each($qfields))
+ if (is_array($qfields))
+ {
+ foreach($qfields as $pref => $x)
+ {
/* echo '<br />checking: ' . $pref .
'=' . $prefs[$pref]; */
if ($prefs[$pref] == 'on')
{
@@ -782,7 +785,8 @@
{
$GLOBALS['phpgw']->preferences->delete('addressbook',$pref);
}
- }
+ }
+ }
}
if(is_array($other))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17588],
nelson . guerra <=