[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17568]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17568] |
Date: |
Fri, 12 Jan 2018 21:45:37 -0500 (EST) |
Revision: 17568
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17568
Author: nelson224
Date: 2018-01-12 21:45:37 -0500 (Fri, 12 Jan 2018)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.soinvoice.inc.php
Modified: branches/dev-syncromind/property/inc/class.soinvoice.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.soinvoice.inc.php
2018-01-13 02:45:21 UTC (rev 17567)
+++ branches/dev-syncromind/property/inc/class.soinvoice.inc.php
2018-01-13 02:45:37 UTC (rev 17568)
@@ -935,11 +935,15 @@
$receipt = array();
$GLOBALS['phpgw']->db->transaction_begin();
- while ($entry = each($values['counter']))
- {
+ //while ($entry = each($values['counter']))
+ if (is_array($values['counter']))
+ {
+ foreach($values['counter'] as $key => $value)
+ {
$local_error = false;
- $n = $entry[0];
+ //$n = $entry[0];
+ $n = $key;
//_debug_array($entry);
$id = (int)$values['id'][$n];
@@ -1071,7 +1075,8 @@
$receipt['message'][] = array('msg' =>
lang('Voucher is updated '));
}
- }
+ }
+ }
if ($update_status)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17568],
nelson . guerra <=