From: Roland Haeder Date: Wed, 25 Feb 2015 13:30:11 +0000 (+0100) Subject: Fixed 2 parser errors. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4e6560154761c2c530f24c73a821ba943618384d;p=quix0rs-gnu-social.git Fixed 2 parser errors. Signed-off-by: Roland Haeder --- diff --git a/lib/imagefile.php b/lib/imagefile.php index 6a69238bd6..e298b848aa 100644 --- a/lib/imagefile.php +++ b/lib/imagefile.php @@ -257,7 +257,7 @@ class ImageFile @copy($this->filepath, $outpath); // And set chmod - @chmod($outpath, common_config('attachments', 'chmod'); + @chmod($outpath, common_config('attachments', 'chmod')); return $outpath; } elseif (abs($this->rotate) == 90) { // Box is rotated 90 degrees in either direction, @@ -357,7 +357,7 @@ class ImageFile } // Always chmod 0644 (default) to have other processes (e.g. queue daemon read it) - @chmod($outpath, common_config('attachments', 'chmod'); + @chmod($outpath, common_config('attachments', 'chmod')); imagedestroy($image_src); imagedestroy($image_dest);