diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-26 19:59:31 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-26 19:59:31 +0000 |
commit | dac6a2be3df7c4cd43cf454fb708a80c83c85993 (patch) | |
tree | 5a468fc18aa82597188f232487bc04a969f3df59 | |
parent | 7a6f73f49d0cdbb544ca1a8af36ed3502487456c (diff) | |
download | brdo-dac6a2be3df7c4cd43cf454fb708a80c83c85993.tar.gz brdo-dac6a2be3df7c4cd43cf454fb708a80c83c85993.tar.bz2 |
#423886 by Berdir: Fix fatal error when submitting aggregator block.
-rw-r--r-- | modules/aggregator/aggregator.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 26f2ad12a..6f7174e10 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -332,9 +332,9 @@ function aggregator_block_configure($delta = '') { function aggregator_block_save($delta = '', $edit = array()) { list($type, $id) = explode('-', $delta); if ($type == 'category') { - db_merge('aggregator_category') - ->key(array('cid' => $id)) + db_update('aggregator_category') ->fields(array('block' => $edit['block'])) + ->condition('cid', $id) ->execute(); } } |