Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
PHP Notice: Use of undefined constant int - assumed 'int' in hotel_booking.module on line 207 -> should be 'adults' => 'int',
PHP Notice: Use of undefined constant int - assumed 'int' in hotel_booking.module on line 208 -> should be 'children' => 'int',
Notice: Use of undefined constant MENU_LOCALTASK - assumed [error]
'MENU_LOCALTASK' in hotel_booking_menu() (line 184 of hotel_booking.module). -> should be 'type' => MENU_LOCAL_TASK,
Thank you for this great module
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedAlso Undefined index: type in hotel_booking_form_alter() (line 402 of hotel_booking.module). -> should be
if ($form['#type']['#value'] == 'hotel_room_type' && module_exists('uc_shipping')) {
Comment #2
larowlancommitted, jeez it's scary to look at my first implementation of hook_theme and hook_menu, funny no-one picked these up earlier, it's been like that for at least two years!