From: root@iserv.zuhause.test Date: Sun, 13 Jul 2008 17:40:19 +0000 (+0200) Subject: show(): when a new booking was inserted, the UID was 0 and so the deletion link didn... X-Git-Tag: REL_3.0-beta~30 X-Git-Url: http://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/1e3711541a5c56e00bb175f8c438a43978352c9f show(): when a new booking was inserted, the UID was 0 and so the deletion link didn't work --- diff --git a/includes/mod_roomReservationBookingTable.inc b/includes/mod_roomReservationBookingTable.inc old mode 100644 new mode 100755 index c70ddc1..c19b78f --- a/includes/mod_roomReservationBookingTable.inc +++ b/includes/mod_roomReservationBookingTable.inc @@ -546,6 +546,7 @@ CSS; if($nNewUid > 0) { // print new booking and increment the "next row" variable by // the current span + $oNewBooking->setUid($nNewUid); $anNextRow[$i] += $this->printBooking($nTs, $ts, $oNewBooking, MOD_ROOM_RESERVATION_BTPB_NEW); }