fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17559]


From: nelson . guerra
Subject: [Fmsystem-commits] [17559]
Date: Thu, 11 Jan 2018 22:54:22 -0500 (EST)

Revision: 17559
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17559
Author:   nelson224
Date:     2018-01-11 22:54:22 -0500 (Thu, 11 Jan 2018)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uiinvestment.inc.php

Modified: branches/dev-syncromind/property/inc/class.uiinvestment.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uiinvestment.inc.php     
2018-01-12 03:54:05 UTC (rev 17558)
+++ branches/dev-syncromind/property/inc/class.uiinvestment.inc.php     
2018-01-12 03:54:22 UTC (rev 17559)
@@ -177,8 +177,10 @@
                        $GLOBALS['phpgw']->jqcal->add_listener('start_date');
                        $counter = $sum_initial_value = $sum_value = 0;
 
-                       while (is_array($investment_list) && list(, 
$investment) = each($investment_list))
-                       {
+                        if (is_array($investment_list))
+                        {
+                            foreach($investment_list as $investment)
+                            {
                                $link_history = $check = "";
                                if ($this->admin_invoice)
                                {
@@ -215,7 +217,8 @@
                                        'counter' => $counter
                                );
                                $counter++;
-                       }
+                            }
+                        }
 
                        if ($export)
                        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]