fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16783] more on eventplanner


From: sigurdne
Subject: [Fmsystem-commits] [16783] more on eventplanner
Date: Thu, 25 May 2017 14:06:32 -0400 (EDT)

Revision: 16783
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16783
Author:   sigurdne
Date:     2017-05-25 14:06:32 -0400 (Thu, 25 May 2017)
Log Message:
-----------
more on eventplanner

Modified Paths:
--------------
    trunk/eventplanner/inc/class.bobooking.inc.php

Modified: trunk/eventplanner/inc/class.bobooking.inc.php
===================================================================
--- trunk/eventplanner/inc/class.bobooking.inc.php      2017-05-25 04:53:44 UTC 
(rev 16782)
+++ trunk/eventplanner/inc/class.bobooking.inc.php      2017-05-25 18:06:32 UTC 
(rev 16783)
@@ -94,7 +94,9 @@
                        $config = CreateObject('phpgwapi.config', 
'eventplanner')->read();
 //                     _debug_array($booking);
 
-                       $customer_name  =$booking->customer_name;
+                       $customer = 
createObject('eventplanner.bocustomer')->read_single($booking->customer_id, 
true, $relaxe_acl = true);
+                       $customer_name  =$customer->name;
+
                        $customer_contact_name = 
$booking->customer_contact_name;
                        $customer_contact_email = 
$booking->customer_contact_email;
                        $customer_contact_phone = 
$booking->customer_contact_phone;




reply via email to

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