From: Roland Haeder Date: Sun, 18 Jan 2015 12:50:37 +0000 (+0100) Subject: Yay! Wrong variable, wrong bait, wrong fish. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=60dd77907eb53e5c1b5d8369452ef00bf51dd3d2;p=quix0rs-gnu-social.git Yay! Wrong variable, wrong bait, wrong fish. Signed-off-by: Roland Haeder --- 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);