diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-11 17:28:44 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-11 17:28:44 +0000 |
commit | 281781a44fdc57daa3ebaa97c56a0ccba26621ec (patch) | |
tree | 947fff553237f8259fe1eab0184d9ab3ac32a5b6 /modules/aggregator | |
parent | 5030ea40a51b0d6527f5d43519cdbf0a3cca0c56 (diff) | |
download | brdo-281781a44fdc57daa3ebaa97c56a0ccba26621ec.tar.gz brdo-281781a44fdc57daa3ebaa97c56a0ccba26621ec.tar.bz2 |
#174348 by chx: image column was not present in an aggregator_save_feed() query, but it does not have a default value, so we need to include it in the query
Diffstat (limited to 'modules/aggregator')
-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 c78422a75..281f4df95 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -368,7 +368,7 @@ function aggregator_save_feed($edit) { db_query('DELETE FROM {aggregator_item} WHERE fid = %d', $edit['fid']); } else if (!empty($edit['title'])) { - db_query("INSERT INTO {aggregator_feed} (title, url, refresh, block, description) VALUES ('%s', '%s', %d, 5, '')", $edit['title'], $edit['url'], $edit['refresh']); + db_query("INSERT INTO {aggregator_feed} (title, url, refresh, block, description, image) 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'); } |