Completed
Push — master ( bfa4f1...253dc9 )
by Jesus
02:28
created
locallib.php 1 patch
Braces   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -320,8 +320,7 @@  discard block
 block discarded – undo
320 320
 
321 321
     if( $xml ) { //If the xml packet returned failure it displays the message to the user
322 322
         return array('returncode' => $xml->returncode, 'message' => $xml->message, 'messageKey' => $xml->messageKey);
323
-    }
324
-    else { //If the server is unreachable, then prompts the user of the necessary action
323
+    } else { //If the server is unreachable, then prompts the user of the necessary action
325 324
         return null;
326 325
     }
327 326
 }
@@ -355,7 +354,9 @@  discard block
 block discarded – undo
355 354
 }
356 355
 
357 356
 function bigbluebuttonbn_wrap_xml_load_file($url, $method=BIGBLUEBUTTONBN_METHOD_GET, $data=null) {
358
-    if ( bigbluebuttonbn_debugdisplay() ) error_log("Request to: ".$url);
357
+    if ( bigbluebuttonbn_debugdisplay() ) {
358
+        error_log("Request to: ".$url);
359
+    }
359 360
 
360 361
     if (extension_loaded('curl')) {
361 362
         $c = new curl();
@@ -942,7 +943,9 @@  discard block
 block discarded – undo
942 943
     $error = $org_msg;
943 944
 
944 945
     if( !empty($new_msg) ) {
945
-        if( !empty($error) ) $error .= ' ';
946
+        if( !empty($error) ) {
947
+            $error .= ' ';
948
+        }
946 949
         $error .= $new_msg;
947 950
     }
948 951
 
Please login to merge, or discard this patch.