/**
  * Change status of given reservations
  */
 function changeStatusObject()
 {
     global $ilAccess;
     $this->tabs_gui->setTabActive('log');
     if (!$_POST['reservation_id']) {
         ilUtil::sendFailure($this->lng->txt('select_one'));
         return $this->logObject();
     }
     if ($ilAccess->checkAccess('write', '', $this->object->getRefId())) {
         include_once 'Modules/BookingManager/classes/class.ilBookingReservation.php';
         ilBookingReservation::changeStatus($_POST['reservation_id'], (int) $_POST['tstatus']);
     }
     ilUtil::sendSuccess($this->lng->txt('settings_saved'), true);
     return $this->ctrl->redirect($this, 'log');
 }