aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-04 16:09:52 -0700
committerfriendica <info@friendica.com>2014-09-04 16:09:52 -0700
commit1102499c71f42ca06e5ddfab304dec0d12e9d629 (patch)
tree49a9e9d13de9639351bcb37a4b1b21f78aab8bb3
parentca2bf76b06360d6bd3dc386d53c6d7301cd518f3 (diff)
downloadvolse-hubzilla-1102499c71f42ca06e5ddfab304dec0d12e9d629.tar.gz
volse-hubzilla-1102499c71f42ca06e5ddfab304dec0d12e9d629.tar.bz2
volse-hubzilla-1102499c71f42ca06e5ddfab304dec0d12e9d629.zip
realm detection logic reversed
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 6ccee8c39..a53b39663 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1024,7 +1024,7 @@ function import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED, $ud_arr = null) {
$realm = get_directory_realm();
if(array_key_exists('site',$arr)
&& array_key_exists('realm',$arr['site'])
- && (strpos($arr['site']['realm'],$realm) !== false))
+ && (strpos($arr['site']['realm'],$realm) === false))
$other_realm = true;
if($dirmode != DIRECTORY_MODE_NORMAL) {