aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/post.php b/mod/post.php
index 140b3f1e5..95c984b40 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -281,7 +281,7 @@ function post_init(&$a) {
if($test) {
$ret['message'] .= 'auth failure fallthrough ' . print_r($_REQUEST,true) . print_r($j,true) . EOL;
- json_return_and_dir($ret);
+ json_return_and_die($ret);
}
if(strstr($desturl,z_root() . '/rmagic'))