phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.boentity.php, 1.1.1.13


From: nomail
Subject: [Phpgroupware-cvs] property/class.boentity.php, 1.1.1.13
Date: Tue, 18 May 2004 08:19:43 +0200

Update of /property
Modified Files:
        Branch: 
          class.boentity.php

date: 2004/05/18 06:19:43;  author: sigurdne;  state: Exp;  lines: +11 -11

Log Message:
no message
=====================================================================
Index: property/class.boentity.php
diff -u property/class.boentity.php:1.1.1.12 
property/class.boentity.php:1.1.1.13
--- property/class.boentity.php:1.1.1.12        Mon May  3 07:14:50 2004
+++ property/class.boentity.php Tue May 18 06:19:43 2004
@@ -254,22 +254,22 @@
 
                        if($data['lookup'])
                        {
-                       for ($i=0;$i<count($entity);$i++)
-                       {
-                               
$location_data=$this->solocation->read_single($entity[$i]['location_code']);
-                               for ($j=0;$j<count($cols_extra);$j++)
+                               for ($i=0;$i<count($entity);$i++)
                                {
-                                       $entity[$i][$cols_extra[$j]] = 
$location_data[$cols_extra[$j]];
-                               }
+                                       
$location_data=$this->solocation->read_single($entity[$i]['location_code']);
+                                       for ($j=0;$j<count($cols_extra);$j++)
+                                       {
+                                               $entity[$i][$cols_extra[$j]] = 
$location_data[$cols_extra[$j]];
+                                       }
 
-                               if($cols_return_lookup)
-                               {
-                                       for 
($k=0;$k<count($cols_return_lookup);$k++)
+                                       if($cols_return_lookup)
                                        {
-                                               
$entity[$i][$cols_return_lookup[$k]] = $location_data[$cols_return_lookup[$k]];
+                                               for 
($k=0;$k<count($cols_return_lookup);$k++)
+                                               {
+                                                       
$entity[$i][$cols_return_lookup[$k]] = $location_data[$cols_return_lookup[$k]];
+                                               }
                                        }
                                }
-                       }
                        }
 
                        return $entity;




reply via email to

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