[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15266] Booking: delete booking
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15266] Booking: delete booking |
Date: |
Tue, 7 Jun 2016 15:34:39 +0000 (UTC) |
Revision: 15266
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15266
Author: sigurdne
Date: 2016-06-07 15:34:39 +0000 (Tue, 07 Jun 2016)
Log Message:
-----------
Booking: delete booking
Modified Paths:
--------------
trunk/booking/inc/class.uibooking.inc.php
Modified: trunk/booking/inc/class.uibooking.inc.php
===================================================================
--- trunk/booking/inc/class.uibooking.inc.php 2016-06-07 11:13:51 UTC (rev
15265)
+++ trunk/booking/inc/class.uibooking.inc.php 2016-06-07 15:34:39 UTC (rev
15266)
@@ -819,14 +819,14 @@
{
$_POST['from_'] = date("Y-m-d H:i:s",
phpgwapi_datetime::date_to_timestamp($_POST['from_']));
$_POST['to_'] = date("Y-m-d H:i:s",
phpgwapi_datetime::date_to_timestamp($_POST['to_']));
- $_POST['repeat_until'] = date("Y-m-d",
phpgwapi_datetime::date_to_timestamp($_POST['repeat_until']));
+ $_POST['repeat_until'] =
isset($_POST['repeat_until']) && $_POST['repeat_until'] ? date("Y-m-d",
phpgwapi_datetime::date_to_timestamp($_POST['repeat_until'])) : false;
$from_date = $_POST['from_'];
$to_date = $_POST['to_'];
if ($_POST['recurring'] != 'on' &&
$_POST['outseason'] != 'on')
{
- if ($_POST['allocation_delete'] != 'on')
+ if ($_POST['delete_allocation'] != 'on')
{
$this->bo->so->delete_booking($id);
$this->redirect(array('menuaction' => 'booking.uimassbooking.schedule', 'id' =>
$booking['building_id']));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15266] Booking: delete booking,
sigurdne <=