mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions.php
This commit is contained in:
parent
9e2e058cfe
commit
3582afbff4
@ -352,7 +352,10 @@ function auth ($type, $forum_id, $ug_data, $f_access = array(), $group_perm = UG
|
|||||||
$add_auth_type_desc = ($forum_id != AUTH_LIST_ALL);
|
$add_auth_type_desc = ($forum_id != AUTH_LIST_ALL);
|
||||||
|
|
||||||
// Если форум не существует, то возвращаем пустой массив
|
// Если форум не существует, то возвращаем пустой массив
|
||||||
if ($add_auth_type_desc && !forum_exists($forum_id)) return array();
|
if ($add_auth_type_desc && !forum_exists($forum_id))
|
||||||
|
{
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Get $auth_fields
|
// Get $auth_fields
|
||||||
|
Loading…
Reference in New Issue
Block a user