@@ -320,8 +320,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |