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

Good catch, +1

Status:Reviewed & tested by the community» Fixed

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

Status:Fixed» Closed (fixed)