[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17567]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17567] |
Date: |
Fri, 12 Jan 2018 21:45:21 -0500 (EST) |
Revision: 17567
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17567
Author: nelson224
Date: 2018-01-12 21:45:21 -0500 (Fri, 12 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.bopricebook.inc.php
Modified: branches/dev-syncromind/property/inc/class.bopricebook.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.bopricebook.inc.php
2018-01-12 12:28:43 UTC (rev 17566)
+++ branches/dev-syncromind/property/inc/class.bopricebook.inc.php
2018-01-13 02:45:21 UTC (rev 17567)
@@ -225,9 +225,13 @@
$new_index = str_replace(",", ".",
$values['new_index']);
- while ($entry = @each($values['update']))
- {
- $n = $entry[0];
+ //while ($entry = @each($values['update']))
+ if (is_array($values['update']))
+ {
+ foreach($values['update'] as $key => $value)
+ {
+ //$n = $entry[0];
+ $n = $key;
if (!$values['old_total_cost'][$n])
{
@@ -265,7 +269,8 @@
'new_index' => $new_index,
'new_date' => $date,
);
- }
+ }
+ }
//_debug_array($update);
if ($update)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17567],
nelson . guerra <=