From cd2ed72b37c968f36844dd917972d031ceaf4be6 Mon Sep 17 00:00:00 2001 From: gerhard6380 Date: Mon, 1 May 2017 22:16:22 +0200 Subject: [PATCH] coding convention applied --- include/Photo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/Photo.php b/include/Photo.php index d26dd1684b..cf0bf29bbe 100644 --- a/include/Photo.php +++ b/include/Photo.php @@ -68,8 +68,9 @@ class Photo { $this->image->destroy(); return; } - if (is_resource($this->image)) + if (is_resource($this->image)) { imagedestroy($this->image); + } } }