aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-12 19:04:20 -0700
committerfriendica <info@friendica.com>2014-03-12 19:04:20 -0700
commit74b8a386450e34f4a3f6f1432c2ab82fdb0e85c8 (patch)
tree10e24ee23e643f933b6ffe1f27b368728a4ace14
parent40b54410b3356c4180d5585d58c29db81179da05 (diff)
downloadvolse-hubzilla-74b8a386450e34f4a3f6f1432c2ab82fdb0e85c8.tar.gz
volse-hubzilla-74b8a386450e34f4a3f6f1432c2ab82fdb0e85c8.tar.bz2
volse-hubzilla-74b8a386450e34f4a3f6f1432c2ab82fdb0e85c8.zip
json_return_and_dir is a typo
-rw-r--r--mod/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/post.php b/mod/post.php
index 54d0d8db9..140b3f1e5 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -265,7 +265,7 @@ function post_init(&$a) {
} else {
if($test) {
$ret['message'] .= 'auth failure. ' . print_r($_REQUEST,true) . print_r($j,true) . EOL;
- json_return_and_dir($ret);
+ json_return_and_die($ret);
}
logger('mod_zot: magic-auth failure - not authenticated: ' . $x[0]['xchan_addr']);