aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-02-27 20:38:42 +0000
committerMario <mario@mariovavti.com>2023-02-27 20:38:42 +0000
commit7dacc7c2688199f8d73a2a33fbdfdd840fc62d77 (patch)
treeda00ba1eac820be624c1ee0bee40bdbb177315fb
parent0db2e6b62c2af950275e1a1f6096d4c974f467ce (diff)
downloadvolse-hubzilla-7dacc7c2688199f8d73a2a33fbdfdd840fc62d77.tar.gz
volse-hubzilla-7dacc7c2688199f8d73a2a33fbdfdd840fc62d77.tar.bz2
volse-hubzilla-7dacc7c2688199f8d73a2a33fbdfdd840fc62d77.zip
Revert "fix second part of issue #1731"
This reverts commit 0db2e6b62c2af950275e1a1f6096d4c974f467ce.
-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