On line 271 and 298 there are db_query functions that do not wrap the table name in {}. This was throwing an error if you were using prefixed table names.

Solution: Change to wrap table name:
271: $u = db_fetch_object(db_query("SELECT uid FROM {users} WHERE name = '%s'", trim($uname)));
298: $u = db_fetch_object(db_query("SELECT uid FROM {users} WHERE name = '%s'", trim($uname)));

Patch attached.

CommentFileSizeAuthor
notifications.patch1.13 KBkbasarab
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

David Goode’s picture

Status: Active » Fixed

Done, sorry for the delay, in school :-(

David

Status: Fixed » Closed (fixed)

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