Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
notifications.patch | 1.13 KB | kbasarab |
Comments
Comment #1
David Goode CreditAttribution: David Goode commentedDone, sorry for the delay, in school :-(
David