From 74b8a386450e34f4a3f6f1432c2ab82fdb0e85c8 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 12 Mar 2014 19:04:20 -0700 Subject: json_return_and_dir is a typo --- mod/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); -- cgit v1.2.3