fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17519]


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

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


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

Modified: branches/dev-syncromind/property/inc/class.boproject.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.boproject.inc.php        
2018-01-10 00:03:43 UTC (rev 17518)
+++ branches/dev-syncromind/property/inc/class.boproject.inc.php        
2018-01-10 00:05:21 UTC (rev 17519)
@@ -303,7 +303,8 @@
                        $branch_entries = $this->so->select_branch_list();
 
                        $j = 0;
-                       while (is_array($branch_entries) && list(, $branch) = 
each($branch_entries))
+                       //while (is_array($branch_entries) && list(, $branch) = 
each($branch_entries))
+                        foreach($branch_entries as $branch)
                        {
                                $branch_list[$j]['id'] = $branch['id'];
                                $branch_list[$j]['name'] = $branch['name'];
@@ -903,7 +904,7 @@
                function save( $project, $action = '', $values_attribute = 
array() )
                {
                        //_debug_array($project);
-                       while (is_array($project['location']) && list(, $value) 
= each($project['location']))
+                        foreach($project['location'] as $value)
                        {
                                if ($value)
                                {




reply via email to

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