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

Fix some style

This commit is contained in:
Brice Maron 2012-10-22 21:11:36 +00:00
parent 22a6d095e6
commit b1cb8a044b

View File

@ -61,7 +61,8 @@ if($data) {
OCP\Util::DEBUG);
if($image->crop($x1, $y1, $w, $h)) {
if(($image->width() <= 200 && $image->height() <= 200)
|| $image->resize(200)) {
|| $image->resize(200)) {
$vcard = OC_Contacts_App::getContactVCard($id);
if(!$vcard) {
OC_Cache::remove($tmpkey);