diff --git a/ajax/uploadphoto.php b/ajax/uploadphoto.php index dca8ede6..49c03dc4 100644 --- a/ajax/uploadphoto.php +++ b/ajax/uploadphoto.php @@ -65,6 +65,7 @@ if ($fn) { } } else { bailOut('Couldn\'t load temporary image: '.$file['tmp_name']); + bailOut(OC_Contacts_App::$l10n->t('Couldn\'t load temporary image: ').$tmpkey); } }