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.

node.module_53.patch746 byteskbahey
Members fund testing for the Drupal project. Drupal Association Learn more


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)