Passed
Branch patch72.3 (087bf3)
by Cody
01:33
created
functions/post_messages.php 1 patch
Braces   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,11 @@
 block discarded – undo
87 87
         move_uploaded_file($_FILES["file"]["tmp_name"], $target_file);
88 88
     }
89 89
 
90
-    if($uploadOk)return $target_file_for_base_name; else return 'not uploaded';
90
+    if($uploadOk) {
91
+      return $target_file_for_base_name;
92
+    } else {
93
+      return 'not uploaded';
94
+    }
91 95
   }
92 96
 
93 97
   function messageToJSON($file_name_for_db, $messages, $last_msg){
Please login to merge, or discard this patch.