fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17520]


From: nelson . guerra
Subject: [Fmsystem-commits] [17520]
Date: Tue, 9 Jan 2018 19:05:42 -0500 (EST)

Revision: 17520
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17520
Author:   nelson224
Date:     2018-01-09 19:05:42 -0500 (Tue, 09 Jan 2018)
Log Message:
-----------


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

Modified: branches/dev-syncromind/property/inc/class.boinvestment.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.boinvestment.inc.php     
2018-01-10 00:05:21 UTC (rev 17519)
+++ branches/dev-syncromind/property/inc/class.boinvestment.inc.php     
2018-01-10 00:05:42 UTC (rev 17520)
@@ -173,7 +173,8 @@
 
                        $categories = $this->so->write_off_period_list();
 
-                       while (is_array($categories) && list(, $category) = 
each($categories))
+                       //while (is_array($categories) && list(, $category) = 
each($categories))
+                        foreach($categories as $category)
                        {
                                $sel_category = '';
                                if ($category['period'] == $selected)
@@ -202,7 +203,8 @@
 
                function save_investment( $values )
                {
-                       while (is_array($values['location']) && list(, $value) 
= each($values['location']))
+                       //while (is_array($values['location']) && list(, 
$value) = each($values['location']))
+                        foreach($values['location'] as $value)
                        {
                                if ($value)
                                {




reply via email to

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