Commit 07d4c556 authored by Dries's avatar Dries
Browse files

- Patch #1431452 by larowlan: 'status' in where clause is ambiguous.

parent d37c49df
......@@ -779,7 +779,7 @@ function forum_forum_load($tid = NULL) {
$query->addExpression('SUM(ncs.comment_count)', 'comment_count');
$counts = $query
->fields('f', array('tid'))
->condition('status', 1)
->condition('n.status', 1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment