Issue #1431452 by webflo, larowlan: Tests for 'status' in where clause is ambiguous.

merge-requests/26/head
webchick 2012-02-21 01:09:25 -08:00
parent e7681aecd6
commit cfc651f496
1 changed files with 1 additions and 1 deletions

View File

@ -773,7 +773,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)
->groupBy('tid')
->addTag('node_access')
->execute()