coding convention applied

This commit is contained in:
gerhard6380 2017-05-01 22:16:22 +02:00
parent a2ccdf1fec
commit cd2ed72b37
1 changed files with 2 additions and 1 deletions

View File

@ -68,10 +68,11 @@ class Photo {
$this->image->destroy();
return;
}
if (is_resource($this->image))
if (is_resource($this->image)) {
imagedestroy($this->image);
}
}
}
public function is_imagick() {
return $this->imagick;