summaryrefslogtreecommitdiff
path: root/modules/aggregator/aggregator.processor.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/aggregator/aggregator.processor.inc')
-rw-r--r--modules/aggregator/aggregator.processor.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator/aggregator.processor.inc b/modules/aggregator/aggregator.processor.inc
index fd29a6bc8..42fe606f0 100644
--- a/modules/aggregator/aggregator.processor.inc
+++ b/modules/aggregator/aggregator.processor.inc
@@ -147,9 +147,9 @@ function aggregator_save_item($edit) {
$result = db_query('SELECT cid FROM {aggregator_category_feed} WHERE fid = :fid', array(':fid' => $edit['fid']));
foreach ($result as $category) {
db_merge('aggregator_category_item')
+ ->key(array('iid' => $edit['iid']))
->fields(array(
'cid' => $category->cid,
- 'iid' => $edit['iid'],
))
->execute();
}