diff options
author | friendica <info@friendica.com> | 2012-08-08 18:50:04 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-08 18:50:04 -0700 |
commit | 9a39d4ade21af15e9d6a3aae1f467f0d173cc0de (patch) | |
tree | 569a3839709bf452b44515dc8c6d3f887f78b9dc /mod/zregister.php | |
parent | c28da5673731acbedecb4209c38b72046db597e1 (diff) | |
download | volse-hubzilla-9a39d4ade21af15e9d6a3aae1f467f0d173cc0de.tar.gz volse-hubzilla-9a39d4ade21af15e9d6a3aae1f467f0d173cc0de.tar.bz2 volse-hubzilla-9a39d4ade21af15e9d6a3aae1f467f0d173cc0de.zip |
moving forward again
Diffstat (limited to 'mod/zregister.php')
-rw-r--r-- | mod/zregister.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/zregister.php b/mod/zregister.php index 7a8d67e78..87a5cff0c 100644 --- a/mod/zregister.php +++ b/mod/zregister.php @@ -18,9 +18,7 @@ function zregister_init(&$a) { if($result['message']) $result['error'] = true; - header('content-type: application/json'); - echo json_encode($result); - killme(); + json_return_and_die($result); } $pw1 = t("Password too short"); |