- Patch #1279888 by 10oclock: missing table prefix on query in node_feed().

merge-requests/26/head
Dries Buytaert 2011-09-16 11:52:09 -04:00
parent a5e9201a0f
commit 7805beba58
1 changed files with 1 additions and 1 deletions

View File

@ -2447,7 +2447,7 @@ function node_feed($nids = FALSE, $channel = array()) {
$nids = db_select('node', 'n')
->fields('n', array('nid', 'created'))
->condition('n.promote', 1)
->condition('status', 1)
->condition('n.status', 1)
->orderBy('n.created', 'DESC')
->range(0, variable_get('feed_default_items', 10))
->addTag('node_access')