SMF
SMF copied to clipboard
Recent.php
When clicking the "Recent Posts" in the Info Center, you get an error "Unknown colum b.recent".
The error is on line 254 (AND b.redirect = {string:empty}',)
Code: $get_num_posts = $smcFunc['db_query']('', ' SELECT IFNULL(SUM(num_posts), 0) FROM {db_prefix}boards WHERE ' . $query_these_boards . ' AND b.redirect = {string:empty}',
Replace with: $get_num_posts = $smcFunc['db_query']('', ' SELECT IFNULL(SUM(num_posts), 0) FROM {db_prefix}boards WHERE ' . $query_these_boards . ' AND redirect = {string:empty}',