From 96baeaab637694e4f14d6dedc61fafa18d821840 Mon Sep 17 00:00:00 2001 From: ppound Date: Mon, 27 Sep 2021 10:29:57 -0300 Subject: [PATCH] changes requested by liquidcms --- reservation.inc | 3 ++- reserve.info.yml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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: