]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed 2 parser errors.
authorRoland Haeder <roland@mxchange.org>
Wed, 25 Feb 2015 13:30:11 +0000 (14:30 +0100)
committerRoland Haeder <roland@mxchange.org>
Wed, 25 Feb 2015 13:30:58 +0000 (14:30 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
lib/imagefile.php

index 926617e6a26df9ff5c9dd8463e787c4725944e5a..46402d89d7cc2560defbc476b5c03f6b8e459df5 100644 (file)
@@ -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);