]> git.mxchange.org Git - friendica.git/commitdiff
coding convention applied
authorgerhard6380 <gerhard@seeber.at>
Mon, 1 May 2017 20:16:22 +0000 (22:16 +0200)
committergerhard6380 <gerhard@seeber.at>
Mon, 1 May 2017 20:16:22 +0000 (22:16 +0200)
include/Photo.php

index d26dd1684be0f4c7dc3d07175c0c50a3df20a111..cf0bf29bbed65745d2421decbd0decb34aa05415 100644 (file)
@@ -68,8 +68,9 @@ class Photo {
                                $this->image->destroy();
                                return;
                        }
-                       if (is_resource($this->image))
+                       if (is_resource($this->image)) {
                                imagedestroy($this->image);
+                       }
                }
        }