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