diff --git a/reservation.inc b/reservation.inc index fa48c12..11e8e22 100644 --- a/reservation.inc +++ b/reservation.inc @@ -233,6 +233,7 @@ function reserve_form_reserve_reservation_form_alter(array &$form, FormStateInte

' . t('Reservation booking for') . ':

' . $bundleName . ': ' . $entity->label() . '
' . t('Date') . ': ' . $date . '
' . t('Time') . ': ' . $time . '
+
' . t('Length') . ': ' . $lengthDisplay . '

', ]; @@ -271,7 +272,7 @@ function reserve_form_reserve_reservation_form_alter(array &$form, FormStateInte */ function reserve_form_reserve_reservation_delete_form_alter(array &$form, FormStateInterface $form_state) { // Retrieve an array which contains the path pieces. - $refer_path = $_SERVER["HTTP_REFERER"]; + $refer_path = $_SERVER['HTTP_REFERER']; $path_args = explode('/', $refer_path); $month = $path_args[6]; diff --git a/reserve.info.yml b/reserve.info.yml index 4868934..6975375 100644 --- a/reserve.info.yml +++ b/reserve.info.yml @@ -1,7 +1,6 @@ name: Reserve type: module description: Reservation system. -core: 8.x package: Reserve core_version_requirement: ^8 || ^9 dependencies: