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.

Files: 
CommentFileSizeAuthor
node.module_53.patch746 byteskbahey

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)