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
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

mcarbone - October 13, 2007 - 00:02
Status:active» fixed

Fixed -- thanks.

#2

Anonymous - October 27, 2007 - 00:11
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.