summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-14 14:03:05 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-14 14:03:05 +0000
commitca9aa560f2bdf49f48b8e20e5b6c9510e938e655 (patch)
treed43c02742538c0e5831444cad2489ea65e3353de /modules/aggregator
parentd40ce217118e5541980224aaae55cafb336bce83 (diff)
downloadbrdo-ca9aa560f2bdf49f48b8e20e5b6c9510e938e655.tar.gz
brdo-ca9aa560f2bdf49f48b8e20e5b6c9510e938e655.tar.bz2
- Patch #40816 by Morbus: fixed bug with assigning news item the correct category.
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 7e2ed4f19..2e4c4c607 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -729,7 +729,7 @@ function aggregator_save_feed($edit) {
if ($edit['title']) {
// the feed is being saved, save the categories as well
if ($edit['category']) {
- foreach ($edit['category'] as $cid) {
+ foreach ($edit['category'] as $cid => $value) {
db_query('INSERT INTO {aggregator_category_feed} (fid, cid) VALUES (%d, %d)', $edit['fid'], $cid);
}
}