]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Yay! Wrong variable, wrong bait, wrong fish.
authorRoland Haeder <roland@mxchange.org>
Sun, 18 Jan 2015 12:50:37 +0000 (13:50 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 18 Jan 2015 12:50:37 +0000 (13:50 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
lib/imagefile.php

index bfbe17fca8c28682cc91772ca2eb72757beb2330..d1614f47b041773bf4b262ef9204b580babf2fde 100644 (file)
@@ -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);