1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00

Contacts: Return error if contact photo can't be loaded

This commit is contained in:
Thomas Tanghus 2013-05-06 01:48:07 +02:00
parent 5125adb834
commit 958af7bbe0

View File

@ -95,6 +95,9 @@ class ContactController extends BaseController {
$image->resize($max_size);
}
return $response;
} else {
$response = new JSONResponse();
$response->bailOut('Error getting user photo');
}
}