fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [6897] property: avoid double listing


From: Sigurd Nes
Subject: [Fmsystem-commits] [6897] property: avoid double listing
Date: Tue, 01 Feb 2011 11:39:38 +0000

Revision: 6897
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6897
Author:   sigurdne
Date:     2011-02-01 11:39:38 +0000 (Tue, 01 Feb 2011)
Log Message:
-----------
property: avoid double listing

Modified Paths:
--------------
    trunk/property/inc/class.uitts.inc.php

Modified: trunk/property/inc/class.uitts.inc.php
===================================================================
--- trunk/property/inc/class.uitts.inc.php      2011-02-01 11:15:18 UTC (rev 
6896)
+++ trunk/property/inc/class.uitts.inc.php      2011-02-01 11:39:38 UTC (rev 
6897)
@@ -882,11 +882,12 @@
                                        $uicols['descr'][]      = 
$level['name'];
                                        if($level['id'] > 1)
                                        {
-                                               foreach ($ticket_list as & 
$ticket)
+                                               foreach ($ticket_list as & 
$_ticket)
                                                {
-                                                       $location_data = 
execMethod('property.solocation.read_single', $ticket['location_code']);
-                                                       
$ticket["loc{$level['id']}_name"] = $location_data["loc{$level['id']}_name"];
+                                                       $location_data = 
execMethod('property.solocation.read_single', $_ticket['location_code']);
+                                                       
$_ticket["loc{$level['id']}_name"] = $location_data["loc{$level['id']}_name"];
                                                }
+                                               unset($_ticket);
                                        }
                                }
                        }




reply via email to

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