mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Fixed auth(): empty $f_access (#1329)
* Fixed auth(): empty $f_access * Update functions.php * Update CHANGELOG.md * Updated * Update functions.php * Update functions.php
This commit is contained in:
parent
7ee71887f2
commit
3b4fe8008b
5 changed files with 13 additions and 6 deletions
|
@ -64,13 +64,12 @@ if (!isset($_REQUEST['dosearch'])) {
|
|||
}
|
||||
|
||||
$forums = [];
|
||||
$last_cat_id = -1;
|
||||
$forums_list = '';
|
||||
|
||||
if (DB()->num_rows($result) != 0) {
|
||||
$template->assign_block_vars('forums_exist', []);
|
||||
|
||||
$last_cat_id = -1;
|
||||
$forums_list = '';
|
||||
|
||||
while ($row = DB()->sql_fetchrow($result)) {
|
||||
if ($row['cat_id'] != $last_cat_id) {
|
||||
$forums_list .= '<optgroup label="' . htmlCHR($row['cat_title']) . '">';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue