fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [6510] bkbooking: bugfix: not filling in resource num


From: Kjell Arne Espedal
Subject: [Fmsystem-commits] [6510] bkbooking: bugfix: not filling in resource number when entered manually in application
Date: Mon, 25 Oct 2010 09:12:28 +0000

Revision: 6510
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6510
Author:   kjell
Date:     2010-10-25 09:12:28 +0000 (Mon, 25 Oct 2010)
Log Message:
-----------
bkbooking: bugfix: not filling in resource number when entered manually in 
application

Modified Paths:
--------------
    trunk/booking/inc/class.uievent.inc.php

Modified: trunk/booking/inc/class.uievent.inc.php
===================================================================
--- trunk/booking/inc/class.uievent.inc.php     2010-10-21 12:40:25 UTC (rev 
6509)
+++ trunk/booking/inc/class.uievent.inc.php     2010-10-25 09:12:28 UTC (rev 
6510)
@@ -466,12 +466,13 @@
                                        }
                                } elseif ($_POST['customer_identifier_type'] == 
'ssn') {
                                        $event['customer_identifier_type'] = 
'ssn';
-                                       $event['customer_ssn'] = 
$organization['customer_ssn'];
+                                       $event['customer_ssn'] = 
$_POST['customer_ssn'];
                                        
                                } elseif ($_POST['customer_identifier_type'] == 
'organization_number') {
                                        $event['customer_identifier_type'] = 
'organization_number';
-                                       $event['customer_organization_number'] 
= $organization['customer_organization_number'];
+                                       $event['customer_organization_number'] 
= $_POST['customer_organization_number'];
                                }
+
                                if(!$errors['event'] and 
!$errors['resource_number'] and !$errors['organization_number'])
                                {
                                        if (phpgw::get_var('mail', 'POST'))




reply via email to

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