diff --git a/library/includes/functions.php b/library/includes/functions.php index a8ea23a4..d18484f3 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -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); // Если форум не существует, то возвращаем пустой массив - 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