Passed
Push — Showing-Posts ( 7973b5...d5badc )
by Stone
02:03
created
App/Controllers/Ajax/ImageUpload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,12 +35,12 @@
 block discarded – undo
35 35
             }
36 36
 
37 37
 
38
-            $filetowrite = $this->imageFolder . $tempFile['name'];
38
+            $filetowrite = $this->imageFolder.$tempFile['name'];
39 39
             move_uploaded_file($tempFile['tmp_name'], $filetowrite);
40 40
 
41 41
             // Respond to the successful upload with JSON.
42 42
             echo json_encode(array('location' => $filetowrite));
43
-        } else {
43
+        }else {
44 44
             // Notify editor that the upload failed
45 45
             header("HTTP/1.1 500 Server Error");
46 46
         }
Please login to merge, or discard this patch.