From 31ba481cb0a0a19176454a0cfd4701efce2a1adf Mon Sep 17 00:00:00 2001
From: Roland Haeder <roland@mxchange.org>
Date: Wed, 25 Feb 2015 14:30:11 +0100
Subject: [PATCH] Fixed 2 parser errors.

Signed-off-by: Roland Haeder <roland@mxchange.org>
---
 lib/imagefile.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/imagefile.php b/lib/imagefile.php
index 926617e6a2..46402d89d7 100644
--- a/lib/imagefile.php
+++ b/lib/imagefile.php
@@ -255,7 +255,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,
@@ -355,7 +355,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);
-- 
2.39.5