Download & Extend

table {comments} prefix braces missing from karma.module

Project:Karma
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:active» fixed

Fixed -- thanks.

#2

Status:fixed» closed (fixed)
nobody click here