Completed
Push — development ( b096dd...68d2c9 )
by Nils
07:26
created
sources/main.functions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -1349,6 +1349,7 @@
 block discarded – undo
1349 1349
 */
1350 1350
 /**
1351 1351
  * @param string $message
1352
+ * @param string $host
1352 1353
  */
1353 1354
 function send_syslog($message, $component = "teampass", $host, $port)
1354 1355
 {
Please login to merge, or discard this patch.
sources/upload/upload.attachments.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 if (!file_exists($targetDir)) {
221 221
     try {
222 222
         mkdir($targetDir);
223
-    } catch(Exception $e){
223
+    } catch (Exception $e) {
224 224
         print_r($e);
225 225
     }
226 226
 }
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
         ) {
238 238
             try {
239 239
                 unlink($tmpfilePath);
240
-            } catch(Exception $e){
240
+            } catch (Exception $e) {
241 241
                 print_r($e);
242 242
             }
243 243
         }
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
             fclose($out);
305 305
             try {
306 306
                 unlink($_FILES['file']['tmp_name']);
307
-            } catch(Exception $e){
307
+            } catch (Exception $e) {
308 308
                 print_r($e);
309 309
             }
310 310
         } else {
Please login to merge, or discard this patch.