aboutsummaryrefslogtreecommitdiffstats
path: root/mod/ping.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-22 13:33:18 -0800
committerfriendica <info@friendica.com>2014-02-22 13:33:18 -0800
commit075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab (patch)
treea36cf6f0ba6a92e36074c641271249c783b0376c /mod/ping.php
parent9c4c0e6d2313fc7d09e315f2bb39711af4a2774a (diff)
downloadvolse-hubzilla-075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab.tar.gz
volse-hubzilla-075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab.tar.bz2
volse-hubzilla-075b7fa9c82d5b0663528d2cf5e6f28dd1c5f4ab.zip
This should resolve the dav authentication loop (correctly)
Diffstat (limited to 'mod/ping.php')
-rw-r--r--mod/ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ping.php b/mod/ping.php
index 390613d7a..b9d9a9c77 100644
--- a/mod/ping.php
+++ b/mod/ping.php
@@ -28,7 +28,7 @@ function ping_init(&$a) {
header("content-type: application/json");
- $result['invalid'] = ((local_user()) && (intval($_GET['uid'])) && (intval($_GET['uid']) != local_user()) ? 1 : 0);
+ $result['invalid'] = ((intval($_GET['uid'])) && (intval($_GET['uid']) != local_user()) ? 1 : 0);
if(x($_SESSION,'sysmsg')){
foreach ($_SESSION['sysmsg'] as $m){