Completed
Pull Request — master (#325)
by
unknown
02:03
created
bbb_ajax.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
  * @author    Jesus Federico  (jesus [at] blindsidenetworks [dt] com)
24 24
  */
25 25
 
26
-require(__DIR__.'/../../config.php');
27
-require_once(__DIR__.'/locallib.php');
28
-require_once(__DIR__.'/brokerlib.php');
26
+require(__DIR__ . '/../../config.php');
27
+require_once(__DIR__ . '/locallib.php');
28
+require_once(__DIR__ . '/brokerlib.php');
29 29
 
30 30
 define('READ_ONLY_SESSION', true);
31 31
 
@@ -44,13 +44,13 @@  discard block
 block discarded – undo
44 44
 require_sesskey();
45 45
 
46 46
 if (empty($params['action'])) {
47
-    header('HTTP/1.0 400 Bad Request. Parameter ['.$params['action'].'] was not included');
47
+    header('HTTP/1.0 400 Bad Request. Parameter [' . $params['action'] . '] was not included');
48 48
     return;
49 49
 }
50 50
 
51 51
 $error = bigbluebuttonbn_broker_validate_parameters($params);
52 52
 if (!empty($error)) {
53
-    header('HTTP/1.0 400 Bad Request. '.$error);
53
+    header('HTTP/1.0 400 Bad Request. ' . $error);
54 54
     return;
55 55
 }
56 56
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
         echo $completionvalidate;
136 136
         return;
137 137
     }
138
-    header('HTTP/1.0 400 Bad request. The action '. $a . ' doesn\'t exist');
138
+    header('HTTP/1.0 400 Bad request. The action ' . $a . ' doesn\'t exist');
139 139
 } catch (Exception $e) {
140
-    header('HTTP/1.0 500 Internal Server Error. '.$e->getMessage());
140
+    header('HTTP/1.0 500 Internal Server Error. ' . $e->getMessage());
141 141
 }
Please login to merge, or discard this patch.