- Patch #1023190 by Berdir: wrong merge query in aggregator_save_item().

8.0.x
Dries Buytaert 2011-04-12 20:41:44 +02:00
parent b351056338
commit 2edc3029de
1 changed files with 2 additions and 2 deletions

View File

@ -162,8 +162,8 @@ 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(
->key(array(
'iid' => $edit['iid'],
'cid' => $category->cid,
))
->execute();