coding convention applied

This commit is contained in:
gerhard6380 2017-05-01 22:16:22 +02:00
parent a2ccdf1fec
commit cd2ed72b37

View file

@ -68,8 +68,9 @@ class Photo {
$this->image->destroy(); $this->image->destroy();
return; return;
} }
if (is_resource($this->image)) if (is_resource($this->image)) {
imagedestroy($this->image); imagedestroy($this->image);
}
} }
} }