From 6961be199c4701eca30fe2583520f1c4f6958935 Mon Sep 17 00:00:00 2001 From: Jon Stovell Date: Mon, 13 Nov 2023 15:03:04 -0700 Subject: [PATCH] Fixes bug in SMF\Graphics\Image::move() Signed-off-by: Jon Stovell --- Sources/Graphics/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Graphics/Image.php b/Sources/Graphics/Image.php index 4c7b0c67d6..68c7fde1c7 100644 --- a/Sources/Graphics/Image.php +++ b/Sources/Graphics/Image.php @@ -505,7 +505,7 @@ public function move(string $destination): bool $this->pathinfo = pathinfo($this->source); // Attempt to chmod it. - @Utils::makeWritable($image->source); + @Utils::makeWritable($this->source); return true; }