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.
hotel_booking.room_type.inc, line 307:
...
hotel_booking_delete_node_occupancy_modifiers($node);
...
should be:
...
hotel_booking_delete_node_occupancy_modifiers($node->nid);
...
as a result the occupancy modifiers are never being deleted from database
Comments
Comment #1
larowlanThanks for picking this up
Comment #2
larowlanalso hotel_booking_load_node_occupancy_modifiers does not use the passed $node object in the query and it should