diff options
Diffstat (limited to 'apps/contacts/ajax/currentphoto.php')
-rw-r--r-- | apps/contacts/ajax/currentphoto.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/contacts/ajax/currentphoto.php b/apps/contacts/ajax/currentphoto.php index c8cccf83a65..96080e661ef 100644 --- a/apps/contacts/ajax/currentphoto.php +++ b/apps/contacts/ajax/currentphoto.php @@ -20,6 +20,8 @@ * */ +// Firefox and Konqueror tries to download application/json for me. --Arthur +OCP\JSON::setContentTypeHeader('text/plain'); OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('contacts'); require_once 'loghandler.php'; |