diff options
Diffstat (limited to 'modules/aggregator/aggregator.module')
-rw-r--r-- | modules/aggregator/aggregator.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 57739dae8..c22175721 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -453,7 +453,7 @@ function import_save_bundle($edit) { } else if ($edit["title"]) { // a single unique id for bundles and feeds, to use in blocks - $next_id = db_next_id("bundle_bid"); + $next_id = db_next_id("{bundle}_bid"); db_query("INSERT INTO {bundle} (bid, title, attributes) VALUES (%d, '%s', '%s')", $next_id, $edit["title"], $edit["attributes"]); } } @@ -492,7 +492,7 @@ function import_save_feed($edit) { } else if ($edit["title"]) { // a single unique id for bundles and feeds, to use in blocks - $next_id = db_next_id("feed_fid"); + $next_id = db_next_id("{feed}_fid"); db_query("INSERT INTO {feed} (fid, title, url, attributes, refresh) VALUES (%d, '%s', '%s', '%s', %d)", $next_id, $edit["title"], $edit["url"], $edit["attributes"], $edit["refresh"]); } } |