summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-30 17:23:09 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-30 17:23:09 +0000
commit7ab90f3bd55c9c472e1da4389831e8f0d1dcfe42 (patch)
tree09e448ca613cad6b03386aa0c6bba357330a01d2 /modules/aggregator
parentc84d7a50711c11e62f20f590457a7b82c7134ced (diff)
downloadbrdo-7ab90f3bd55c9c472e1da4389831e8f0d1dcfe42.tar.gz
brdo-7ab90f3bd55c9c472e1da4389831e8f0d1dcfe42.tar.bz2
#148973 by chx: actually insert an empty value for description, so it is not null, and does not cause a problem for postgres
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 d6cf89923..4f7d90bb8 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -577,7 +577,7 @@ function aggregator_save_feed($edit) {
db_query('DELETE FROM {aggregator_item} WHERE fid = %d', $edit['fid']);
}
else if ($edit['title']) {
- db_query("INSERT INTO {aggregator_feed} (title, url, refresh, block) VALUES ('%s', '%s', %d, 5)", $edit['title'], $edit['url'], $edit['refresh']);
+ db_query("INSERT INTO {aggregator_feed} (title, url, refresh, block, description) VALUES ('%s', '%s', %d, 5, '')", $edit['title'], $edit['url'], $edit['refresh']);
// A single unique id for bundles and feeds, to use in blocks.
$edit['fid'] = db_last_insert_id('aggregator_feed', 'fid');
}