diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-08-03 18:17:37 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-08-03 18:17:37 +0000 |
commit | 5876461d759f8f59ab0a6e135dc07ed69cd6359c (patch) | |
tree | 18588c467d2e7bf54a2e3be253be4e55c8f064e8 /modules/aggregator/aggregator.module | |
parent | 6b460925499451ac4ce1a3f363ac8a4152dcfc73 (diff) | |
download | brdo-5876461d759f8f59ab0a6e135dc07ed69cd6359c.tar.gz brdo-5876461d759f8f59ab0a6e135dc07ed69cd6359c.tar.bz2 |
- Patch #290561 by mustafu: fixed bug with creating aggregator categories.
Diffstat (limited to 'modules/aggregator/aggregator.module')
-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)) { |