From b766af59ac4aac484c1a44733f60977daa5eeceb Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 13 Jan 2024 15:27:01 +0700 Subject: [PATCH] Update functions.php --- library/includes/functions.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/includes/functions.php b/library/includes/functions.php index d254bf9fd..87c08c2c7 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -303,10 +303,6 @@ function auth($type, $forum_id, $ug_data, array $f_access = [], $group_perm = UG $f_access = [$f_access['forum_id'] => $f_access]; } - if (empty($f_access)) { - trigger_error(__FUNCTION__ . '(): empty $f_access', E_USER_ERROR); - } - // // Get user or group permissions //