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

larowlan’s picture

Assigned: Unassigned » larowlan
Issue tags: +Release blocker

Thanks for picking this up

larowlan’s picture

Priority: Normal » Major

also hotel_booking_load_node_occupancy_modifiers does not use the passed $node object in the query and it should