From 5d06194ca0588727b25f80d7302253edaf5d8e9f Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Fri, 25 Oct 2024 15:14:34 +0100 Subject: [PATCH] typo --- Adapter/GD.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Adapter/GD.php b/Adapter/GD.php index 4b5867b..24e893d 100644 --- a/Adapter/GD.php +++ b/Adapter/GD.php @@ -63,8 +63,9 @@ public function __construct() public function __destruct() { - if (!$this->resource) + if ($this->resource) { imagedestroy($this->resource); + } } /**