[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17548]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [17548] |
Date: |
Wed, 10 Jan 2018 22:40:54 -0500 (EST) |
Revision: 17548
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17548
Author: nelson224
Date: 2018-01-10 22:40:54 -0500 (Wed, 10 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-11 03:40:40 UTC (rev 17547)
+++ branches/dev-syncromind/property/inc/class.boproject.inc.php
2018-01-11 03:40:54 UTC (rev 17548)
@@ -304,20 +304,23 @@
$j = 0;
//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'];
+ if (is_array($branch_entries))
+ {
+ foreach($branch_entries as $branch)
+ {
+ $branch_list[$j]['id'] = $branch['id'];
+ $branch_list[$j]['name'] = $branch['name'];
- for ($i = 0; $i < count($selected); $i++)
- {
- if ($selected[$i]['branch_id'] ==
$branch['id'])
- {
- $branch_list[$j]['selected'] =
'selected';
- }
- }
- $j++;
- }
+ for ($i = 0; $i < count($selected); $i++)
+ {
+ if ($selected[$i]['branch_id'] ==
$branch['id'])
+ {
+
$branch_list[$j]['selected'] = 'selected';
+ }
+ }
+ $j++;
+ }
+ }
/* for ($i=0;$i<count($branch_list);$i++)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17548],
nelson . guerra <=