[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17549]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17549] |
Date: |
Wed, 10 Jan 2018 22:41:10 -0500 (EST) |
Revision: 17549
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17549
Author: nelson224
Date: 2018-01-10 22:41:10 -0500 (Wed, 10 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.boentity.inc.php
Modified: branches/dev-syncromind/property/inc/class.boentity.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.boentity.inc.php 2018-01-11
03:40:54 UTC (rev 17548)
+++ branches/dev-syncromind/property/inc/class.boentity.inc.php 2018-01-11
03:41:10 UTC (rev 17549)
@@ -712,13 +712,16 @@
function save( $values, $values_attribute, $action = '',
$entity_id, $cat_id )
{
//while (is_array($values['location']) && list(,
$value) = each($values['location']))
- foreach($values['location'] as $value)
- {
+ if (is_array($values['location']))
+ {
+ foreach($values['location'] as $value)
+ {
if ($value)
{
$location[] = $value;
}
- }
+ }
+ }
$values['location_code'] = (isset($location) ?
implode("-", $location) : '');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17549],
nelson . guerra <=