[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17539]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17539] |
Date: |
Wed, 10 Jan 2018 20:23:08 -0500 (EST) |
Revision: 17539
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17539
Author: nelson224
Date: 2018-01-10 20:23:07 -0500 (Wed, 10 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.sogab.inc.php
Modified: branches/dev-syncromind/property/inc/class.sogab.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.sogab.inc.php 2018-01-11
01:22:53 UTC (rev 17538)
+++ branches/dev-syncromind/property/inc/class.sogab.inc.php 2018-01-11
01:23:07 UTC (rev 17539)
@@ -537,14 +537,17 @@
{
$location = explode('-',
$gab_insert[$i]['location_code']);
- while (is_array($location) && list($input_name,
$value) = each($location))
- {
- if ($value)
- {
- $col[] = 'loc' . ($input_name +
1);
- $val[] = $value;
- }
- }
+ if (is_array($location))
+ {
+ foreach($location as $input_name => $value)
+ {
+ if ($value)
+ {
+ $col[] = 'loc' .
($input_name + 1);
+ $val[] = $value;
+ }
+ }
+ }
if ($col)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17539],
nelson . guerra <=