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.

CommentFileSizeAuthor
node.module_53.patch746 byteskbahey
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

BioALIEN’s picture

Good catch, +1

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed this to CVS HEAD and DRUPAL-5. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)