fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7219] bkbooking: bugfix


From: Kjell Arne Espedal
Subject: [Fmsystem-commits] [7219] bkbooking: bugfix
Date: Fri, 15 Apr 2011 10:34:05 +0000

Revision: 7219
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7219
Author:   kjell
Date:     2011-04-15 10:34:04 +0000 (Fri, 15 Apr 2011)
Log Message:
-----------
bkbooking: bugfix

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

Modified: trunk/booking/inc/class.uibooking.inc.php
===================================================================
--- trunk/booking/inc/class.uibooking.inc.php   2011-04-13 19:17:46 UTC (rev 
7218)
+++ trunk/booking/inc/class.uibooking.inc.php   2011-04-15 10:34:04 UTC (rev 
7219)
@@ -192,7 +192,7 @@
                        $time_to =      split(" ",phpgw::get_var('to_', 'str', 
'GET'));
                        $step = phpgw::get_var('step', 'str', 'POST');
                        if (! isset($step)) $step = 1;
-                       if (! isset($noallocation)) $noallocation = 1;
+                       if (! isset($allocation_id)) $noallocation = 1;
                        $invalid_dates = array();
                        $valid_dates = array();
 
@@ -283,7 +283,6 @@
                         $booking['secret'] = $this->generate_secret();
                         $receipt = $this->bo->add($booking);
                     }
-
                                        $this->redirect(array('menuaction' => 
'booking.uimassbooking.schedule', 'id'=>$booking['building_id']));
                                }
                                else if ( ($_POST['recurring'] == 'on' || 
$_POST['outseason'] == 'on')  && !$errors['booking'] && 
!$errors['season_boundary'] && $step > 1)




reply via email to

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