mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/14051] Restore accidentally removed $topics_count value
PHPBB3-14051
This commit is contained in:
@@ -308,7 +308,10 @@ if ($sort_days)
|
||||
'sql_array',
|
||||
);
|
||||
extract($phpbb_dispatcher->trigger_event('core.viewforum_modify_sort_data_sql', compact($vars)));
|
||||
|
||||
$result = $db->sql_query($db->sql_build_query('SELECT', $sql_array));
|
||||
$topics_count = (int) $db->sql_fetchfield('num_topics');
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if (isset($_POST['sort']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user