Revert "fix second part of issue #1731"

This reverts commit 0db2e6b62c.
This commit is contained in:
Mario
2023-02-27 20:38:42 +00:00
parent 0db2e6b62c
commit 7dacc7c268

View File

@@ -2657,7 +2657,7 @@ function check_for_new_perms() {
$found_new_perm = false;
foreach ($pcurrent as $p) {
if (!in_array($pregistered, $p)) {
if (!in_array($p, $pregistered)) {
$found_new_perm = true;
// for all channels