Parameter "Smoking Room" does not be set after creation of node. It setted after update of node only if I marked this param again.

In hotel_room_type.module string 250:

db_query('INSERT INTO {hotel_room_types} (nid, vid, capacity, rate_type, rate_modifier, min_occ, avail, model) VALUES (%d, %d, %d, %d, %d, %d, %d, "%s")', $node->nid, $node->vid, $node->capacity, $node->rate_type, $node->rate_modifier, $node->min_occ, $node->avail, $node->model);

must be

db_query('INSERT INTO {hotel_room_types} (nid, vid, smoking, capacity, rate_type, rate_modifier, min_occ, avail, model) VALUES (%d, %d, %d, %d, %d, %d, %d, %d, "%s")', $node->nid, $node->vid, $node->smoking, $node->capacity, $node->rate_type, $node->rate_modifier, $node->min_occ, $node->avail, $node->model);

Comments

willvincent’s picture

Status: Active » Fixed

Ahh yes, thought I had already sorted that out. Thanks for catching this. I've fixed this and commit the change to cvs.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.