Commit 5876461d authored by Dries's avatar Dries

- Patch #290561 by mustafu: fixed bug with creating aggregator categories.

parent 6b460925
......@@ -382,7 +382,7 @@ function aggregator_save_category($edit) {
elseif (!empty($edit['title'])) {
// A single unique id for bundles and feeds, to use in blocks.
db_query("INSERT INTO {aggregator_category} (title, description, block) VALUES ('%s', '%s', 5)", $edit['title'], $edit['description']);
$link_path .= db_last_insert_id('aggregator', 'cid');
$link_path .= db_last_insert_id('aggregator_category', 'cid');
$op = 'insert';
if (isset($op)) {
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