diff options
Diffstat (limited to 'apps/contacts/ajax/savecrop.php')
-rw-r--r-- | apps/contacts/ajax/savecrop.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/contacts/ajax/savecrop.php b/apps/contacts/ajax/savecrop.php index e1826b6a3c5..f9a32bc3ba4 100644 --- a/apps/contacts/ajax/savecrop.php +++ b/apps/contacts/ajax/savecrop.php @@ -24,6 +24,9 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('contacts'); OCP\JSON::callCheck(); +// Firefox and Konqueror tries to download application/json for me. --Arthur +OCP\JSON::setContentTypeHeader('text/plain'); + require_once 'loghandler.php'; $image = null; |