Commit dac6a2be authored by webchick's avatar webchick

#423886 by Berdir: Fix fatal error when submitting aggregator block.

parent 7a6f73f4
......@@ -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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment