whoops missing ;
This commit is contained in:
@@ -887,7 +887,7 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') )
|
|||||||
$chk_config = $db->sql_fetchrow( $chk_result );
|
$chk_config = $db->sql_fetchrow( $chk_result );
|
||||||
if( !sizeof( $chk_config ) )
|
if( !sizeof( $chk_config ) )
|
||||||
{
|
{
|
||||||
$portal_update_array[] = 'INSERT ' . PORTAL_CONFIG_TABLE . " (config_name, config_value) VALUES ('portal_show_announcements_replies_views', '1');",
|
$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'";
|
$sql_chk = 'SELECT config_value FROM ' . PORTAL_CONFIG_TABLE . " WHERE config_name = 'portal_show_news_replies_views'";
|
||||||
@@ -895,7 +895,7 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') )
|
|||||||
$chk_config = $db->sql_fetchrow( $chk_result );
|
$chk_config = $db->sql_fetchrow( $chk_result );
|
||||||
if( !sizeof( $chk_config ) )
|
if( !sizeof( $chk_config ) )
|
||||||
{
|
{
|
||||||
$portal_update_array[] = 'INSERT ' . PORTAL_CONFIG_TABLE . " (config_name, config_value) VALUES ('portal_show_news_replies_views', '1');",
|
$portal_update_array[] = 'INSERT ' . PORTAL_CONFIG_TABLE . " (config_name, config_value) VALUES ('portal_show_news_replies_views', '1');";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user