From 60dd77907eb53e5c1b5d8369452ef00bf51dd3d2 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 18 Jan 2015 13:50:37 +0100 Subject: [PATCH] Yay! Wrong variable, wrong bait, wrong fish. Signed-off-by: Roland Haeder --- lib/imagefile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imagefile.php b/lib/imagefile.php index bfbe17fca8..d1614f47b0 100644 --- a/lib/imagefile.php +++ b/lib/imagefile.php @@ -346,7 +346,7 @@ class ImageFile } // Always chmod 0644 to have other processes (e.g. queue daemon read it) - @chmod($image_dest, 0644); + @chmod($outpath, 0644); imagedestroy($image_src); imagedestroy($image_dest); -- 2.39.2