fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [6903] frontend: use correct param for id


From: Sigurd Nes
Subject: [Fmsystem-commits] [6903] frontend: use correct param for id
Date: Tue, 01 Feb 2011 13:47:05 +0000

Revision: 6903
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6903
Author:   sigurdne
Date:     2011-02-01 13:47:05 +0000 (Tue, 01 Feb 2011)
Log Message:
-----------
frontend: use correct param for id

Modified Paths:
--------------
    trunk/frontend/inc/class.uihelpdesk.inc.php

Modified: trunk/frontend/inc/class.uihelpdesk.inc.php
===================================================================
--- trunk/frontend/inc/class.uihelpdesk.inc.php 2011-02-01 12:59:53 UTC (rev 
6902)
+++ trunk/frontend/inc/class.uihelpdesk.inc.php 2011-02-01 13:47:05 UTC (rev 
6903)
@@ -429,7 +429,8 @@
                                $custom                 = 
createObject('property.custom_fields');
                                $vendor_data['attributes'] = 
$custom->find('property','.vendor', 0, '', 'ASC', 'attrib_sort', true, true);
 
-                               $vendor_data    = 
$contacts->read_single(array('id' => $data['vendor_id']),$vendor_data);
+                               $vendor_data    = 
$contacts->read_single(array('id' => $vendor_id),$vendor_data);
+
                                if(is_array($vendor_data))
                                {
                                        foreach($vendor_data['attributes'] as 
$attribute)
@@ -442,7 +443,7 @@
                                        }
                                }
                        }
-                       
+
                        $notes = $bo->read_additional_notes($ticketid);
                        //$history = $bo->read_record_history($ticketid);
 




reply via email to

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