aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index d6fa703ea..4072e3910 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($pregistered, $p)) {
+ if (!in_array($p, $pregistered)) {
$found_new_perm = true;
// for all channels