table {comments} prefix braces missing from karma.module
skyline5k - September 21, 2007 - 00:27
| Project: | Karma |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
As per this post: http://drupal.org/node/175553
SELECT DISTINCT(nid) FROM comments
needs changed to
SELECT DISTINCT(nid) FROM {comments}
and also
FROM comments c LEFT JOIN karma_objects
needs changed to
FROM {comments} c LEFT JOIN {karma_objects}
There was a third that I found that I can't find offhand, but if you just search "FROM comments" with your editor, you'll find all three.
Cheers!
Eric

#1
Fixed -- thanks.
#2