aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 4072e3910..d6fa703ea 100644
--- a/boot.php
+++ b/boot.php
@@ -2657,7 +2657,7 @@ function check_for_new_perms() {
$found_new_perm = false;
foreach ($pcurrent as $p) {
- if (!in_array($p, $pregistered)) {
+ if (!in_array($pregistered, $p)) {
$found_new_perm = true;
// for all channels