summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Barth2010-09-19 01:11:24 +0000
committerAlex Barth2010-09-19 01:11:24 +0000
commit0be4cf207c51d7bede33490edd1be3c4025fd264 (patch)
tree3bc2bbc03c7282770844b6a7bbec74888ad3df2e
parentc2d476c330ad114f22da5376f9af285f8f1ff271 (diff)
Fix query.
-rw-r--r--feeds.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/feeds.module b/feeds.module
index 929e18d..4008031 100644
--- a/feeds.module
+++ b/feeds.module
@@ -426,7 +426,7 @@ function feeds_node_delete($node) {
* FeedsNodeProcessor's hook_node_load().
*/
function _feeds_node_processor_node_load($nodes) {
- if ($items = db_query("SELECT nid, imported, guid, url, feed_nid FROM {feeds_node_item} WHERE nid IN nids(:nids)", array(':nids' => array_keys($nodes)))) {
+ if ($items = db_query("SELECT nid, imported, guid, url, feed_nid FROM {feeds_node_item} WHERE nid IN (:nids)", array(':nids' => array_keys($nodes)))) {
foreach ($items as $item) {
$node->{$item->nid} = $item;
}