Closed (fixed)
Project:
Content moderation
Version:
6.x-1.0-beta5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2010 at 14:38 UTC
Updated:
16 Jan 2010 at 00:00 UTC
on instalation with table prefix, view node:
user warning: Table 'site.node_revisions' doesn't exist query: select count(vid) as revisions_count from node_revisions where vid>20 and nid=1 in sites/all/modules/content_moderation/content_moderation.module on line 195.
Comments
Comment #1
geek-merlinadding curly braces in said line fixes the issue for me.
(liebe grüße eugen!)
Comment #2
geek-merlinsame in lines
347 355
did a vgrep on all db_ queries, i think that should have been it!
Comment #3
eugenmayer commentedthanks axel, i will port it into a patch!
Comment #4
geek-merlingrepping the other files yielded also:
content_moderation.workflow.inc:156
Comment #5
eugenmayer commentedThanks! Patch applied
Part of BETA5
Comment #6
eugenmayer commentedComment #7
geek-merlinmissed something? in BETA5:
missing curly braces in lines:
content_moderation.workflow.inc:161
content_moderation.module:194
content_moderation.module:347
content_moderation.module:355
Comment #8
eugenmayer commentedHow i hate CVS.... well yes, i fu*cked it up once again. Wrong tagging -> wrong result.
so the code in head is fixed, but not the released one. closing issue
Will need to reroll beta5 and release beta6...sorry