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.
For some reason, $user->uid was used inline in the SELECT statement, and was surrounded by single quotes.
The proper way is to have it as a %d.
Patch attached.
Comment | File | Size | Author |
---|---|---|---|
node.module_53.patch | 746 bytes | kbahey | |
Comments
Comment #1
BioALIEN CreditAttribution: BioALIEN commentedGood catch, +1
Comment #2
Dries CreditAttribution: Dries commentedCommitted this to CVS HEAD and DRUPAL-5. Thanks.
Comment #3
(not verified) CreditAttribution: commented