mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
46faec12fa
1 changed files with 3 additions and 0 deletions
|
@ -311,7 +311,10 @@ if ($sort_days)
|
||||||
'sql_array',
|
'sql_array',
|
||||||
);
|
);
|
||||||
extract($phpbb_dispatcher->trigger_event('core.viewforum_modify_sort_data_sql', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.viewforum_modify_sort_data_sql', compact($vars)));
|
||||||
|
|
||||||
$result = $db->sql_query($db->sql_build_query('SELECT', $sql_array));
|
$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']))
|
if (isset($_POST['sort']))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue