fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [6599] bkbooking: bugfix uibooking + removed debug co


From: Kjell Arne Espedal
Subject: [Fmsystem-commits] [6599] bkbooking: bugfix uibooking + removed debug code
Date: Tue, 16 Nov 2010 09:09:26 +0000

Revision: 6599
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6599
Author:   kjell
Date:     2010-11-16 09:09:26 +0000 (Tue, 16 Nov 2010)
Log Message:
-----------
bkbooking: bugfix uibooking +  removed debug code

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

Modified: trunk/booking/inc/class.uibooking.inc.php
===================================================================
--- trunk/booking/inc/class.uibooking.inc.php   2010-11-16 08:52:12 UTC (rev 
6598)
+++ trunk/booking/inc/class.uibooking.inc.php   2010-11-16 09:09:26 UTC (rev 
6599)
@@ -257,7 +257,7 @@
                                if (!$errors && $_POST['recurring'] != 'on' && 
$_POST['outseason'] != 'on' )
                                {
                                        $receipt = $this->bo->add($booking);
-                                       $this->redirect(array('menuaction' => 
'bookingfrontend.uimassbooking.schedule', 'id'=>$booking['building_id']));
+                                       $this->redirect(array('menuaction' => 
'booking.uimassbooking.schedule', 'id'=>$booking['building_id']));
                                }
                                else if ( ($_POST['recurring'] == 'on' || 
$_POST['outseason'] == 'on')  && !$errors && $step > 1)
                                {
@@ -468,7 +468,6 @@
                        $booking['edit_link'] = self::link(array('menuaction' 
=> 'booking.uibooking.edit', 'id' => $booking['id']));
                                
                        $booking['when'] = 
pretty_timestamp($booking['from_']).' - '.pretty_timestamp($booking['to_']);
-                       echo "<pre>";print_r($booking);exit;
                        self::render_template('booking_info', 
array('booking'=>$booking));
                        $GLOBALS['phpgw']->xslttpl->set_output('wml'); // Evil 
hack to disable page chrome
                }




reply via email to

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