I tried to create a new base rate(850), and I created 1 room type and assigned that base rate.
After which, I created a new room type and I assigned it to the same base rate.. when I click save: this error appears:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '850.000' for key 'PRIMARY': UPDATE {hotel_booking_room_types} SET from_rate=:db_update_placeholder_0 WHERE (nid = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => 850 [:db_condition_placeholder_0] => 20 ) in hotel_booking_set_room_from_rate() (line 545 of C:\wamp\www\thesis final\sites\all\modules\uc_hotel\hotel_booking\hotel_booking.util.inc).

help me please.. thank you very much.

CommentFileSizeAuthor
riri.png9.16 KBrequiem08
Support from Acquia helps fund testing for Drupal Acquia logo