Trying out the module, and I get this warning.

user warning: Unknown column '$seats' in 'where clause' query: SELECT rbid FROM reservation_reserved WHERE seat in ($seats) AND vid=238 in /var/www/drupal57/includes/database.mysql.inc on line 172.

The setup at the moment is zero tables, 6 rows of chairs and 20 seats per row. This is on drupal 5.8.

Comments

twowheeler’s picture

Maybe I can answer my own question. Looks like you need double quotes instead of single quotes around line 752. Like this:

  if (!db_num_rows(
        db_query(
          "SELECT rbid FROM {reservation_reserved} WHERE seat in ($seats) AND vid=%d",
           $node->vid)
      )
maulwuff’s picture

Status: Active » Fixed

thanks for reporting this. It's fixed in HEAD already, but I didn't make a release for it :/
Will be processed in beta3

Status: Fixed » Closed (fixed)

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