summaryrefslogtreecommitdiff
path: root/contrib/feed-browser/includes/functions.inc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/feed-browser/includes/functions.inc')
-rw-r--r--contrib/feed-browser/includes/functions.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/feed-browser/includes/functions.inc b/contrib/feed-browser/includes/functions.inc
index 4745c75910..2532dd7c08 100644
--- a/contrib/feed-browser/includes/functions.inc
+++ b/contrib/feed-browser/includes/functions.inc
@@ -85,11 +85,12 @@ function insert_feeds ($db)
{
foreach($distro['feeds'] as $feed)
{
- sqlite_query($db, "INSERT INTO feeds (f_id, f_name, f_uri) VALUES
+ sqlite_query($db, "INSERT INTO feeds (f_id, f_name, f_uri, f_type) VALUES
(
{$id},
'{$distro['distro_name']} {$distro['distro_version']} {$feed['name']}',
- '{$distro['feed_base_url']}{$feed['url']}'
+ '{$distro['feed_base_url']}{$feed['url']}',
+ '{$feed['type']}'
)");
$id++;
@@ -441,7 +442,8 @@ function check_database()
f_id int(8),
f_name varchar(32),
f_uri varchar(100),
- f_comments varchar(500))");
+ f_type varchar(16)
+ )");
insert_feeds ($db) ;
}