mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update admin_user_search.php
This commit is contained in:
parent
08c8a3b9c8
commit
aa8ce9f008
@ -67,14 +67,13 @@ if (!isset($_REQUEST['dosearch']))
|
|||||||
}
|
}
|
||||||
|
|
||||||
$forums = array();
|
$forums = array();
|
||||||
|
$last_cat_id = -1;
|
||||||
|
$forums_list = '';
|
||||||
|
|
||||||
if (DB()->num_rows($result) != 0)
|
if (DB()->num_rows($result) != 0)
|
||||||
{
|
{
|
||||||
$template->assign_block_vars('forums_exist', array());
|
$template->assign_block_vars('forums_exist', array());
|
||||||
|
|
||||||
$last_cat_id = -1;
|
|
||||||
$forums_list = '';
|
|
||||||
|
|
||||||
while ($row = DB()->sql_fetchrow($result))
|
while ($row = DB()->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
if ($row['cat_id'] != $last_cat_id)
|
if ($row['cat_id'] != $last_cat_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user