There is a bug in the occupancy modifier form submit function causing an SQL error:
user warning: Unknown column 'hrmid' in 'where clause' query: UPDATE hotel_occupancy_modifiers SET adult_child = 'child', threshold = 1, value = 25 WHERE hrmid = 0 in C:\wamp\www\sites\all\modules\custom\uc_hotel\hotel_booking\hotel_booking_admin.inc on line 553.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 618248.patch | 1.26 KB | willvincent |
Comments
Comment #1
willvincent commentedFor clarification:
This bug occurs when after an occupancy modifier has been created an attempt is made to update its settings. Initial creation and deletion of occupancy modifiers is unaffected.
WHERE hrmid should actually be WHERE hoid
This patch should correct the problem. Please review and post results.
Comment #2
willvincent commentedHammered on this for a while. Patch solves this issue, doesn't affect anything else. Committed to cvs.