diff options
-rw-r--r-- | modules/aggregator/aggregator.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index fcc6c34aa..58be0c117 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -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)) { |