From 1baf88c4c3105b19de949ba45e5b2af7989069ed Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 25 Oct 2000 10:10:59 +0000 Subject: [PATCH] fixed nntp_server problem --- setup/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/config.php b/setup/config.php index 304ff6aad0..5ef9d0894f 100644 --- a/setup/config.php +++ b/setup/config.php @@ -41,10 +41,10 @@ $db->query("delete from config"); while ($newsetting = each($newsettings)) { if($newsetting[0] == "nntp_server") { - $db->query("select nntp_server from config"); + $db->query("select config_value FROM config WHERE config_name='nntp_server'"); if($db->num_rows()) { $db->next_record(); - if($db->f("nntp_server") <> $newsetting[1]) { + if($db->f("config_value") <> $newsetting[1]) { $db->query("DELETE FROM newsgroups"); $db->query("DELETE FROM users_newsgroups"); }