From 98f806e15b8cd28702b44e6f3dc4681d4ea2ab52 Mon Sep 17 00:00:00 2001 From: Ice Date: Fri, 26 Sep 2008 12:49:49 +0000 Subject: [PATCH] --- root/install_portal/install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/root/install_portal/install.php b/root/install_portal/install.php index 1894c824..b789d244 100644 --- a/root/install_portal/install.php +++ b/root/install_portal/install.php @@ -882,7 +882,7 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') ) if( $old_version == '1.0.0' ) { - $sql_chk = 'SELECT config_value FROM ' . PORTAL_CONFIG_TABLE . " WHERE config_name = 'portal_show_announcements_replies_views'"; + $chk_sql = 'SELECT config_value FROM ' . PORTAL_CONFIG_TABLE . " WHERE config_name = 'portal_show_announcements_replies_views'"; $chk_result = @$db->sql_query_limit( $chk_sql, 1 ); $chk_config = $db->sql_fetchrow( $chk_result ); if( !sizeof( $chk_config ) ) @@ -890,7 +890,7 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') ) $portal_update_array[] = 'INSERT ' . PORTAL_CONFIG_TABLE . " (config_name, config_value) VALUES ('portal_show_announcements_replies_views', '1');"; } - $sql_chk = 'SELECT config_value FROM ' . PORTAL_CONFIG_TABLE . " WHERE config_name = 'portal_show_news_replies_views'"; + $chk_sql = 'SELECT config_value FROM ' . PORTAL_CONFIG_TABLE . " WHERE config_name = 'portal_show_news_replies_views'"; $chk_result = @$db->sql_query_limit( $chk_sql, 1 ); $chk_config = $db->sql_fetchrow( $chk_result ); if( !sizeof( $chk_config ) ) @@ -898,7 +898,7 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') ) $portal_update_array[] = 'INSERT ' . PORTAL_CONFIG_TABLE . " (config_name, config_value) VALUES ('portal_show_news_replies_views', '1');"; } - $sql_chk = 'SELECT config_value FROM ' . PORTAL_CONFIG_TABLE . " WHERE config_name = 'portal_leaders_ext'"; + $chk_sql = 'SELECT config_value FROM ' . PORTAL_CONFIG_TABLE . " WHERE config_name = 'portal_leaders_ext'"; $chk_result = @$db->sql_query_limit( $chk_sql, 1 ); $chk_config = $db->sql_fetchrow( $chk_result ); if( !sizeof( $chk_config ) )