@@ -208,11 +208,11 @@ |
||
| 208 | 208 | foreach ($this->getConfigItem('factions') as $faction) { |
| 209 | 209 | $factionAbv = strtoupper($faction); |
| 210 | 210 | $sql .= "SUM(CASE WHEN `ResultWinner`='{$factionAbv}' "; |
| 211 | - if (! empty($server)) { |
|
| 211 | + if (!empty($server)) { |
|
| 212 | 212 | $sql .= "AND `ResultServer` IN ({$server}) "; |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | - if (! empty($zones)) { |
|
| 215 | + if (!empty($zones)) { |
|
| 216 | 216 | $sql .= "AND `ResultAlertCont` IN ({$zones}) "; |
| 217 | 217 | } |
| 218 | 218 | |
@@ -93,11 +93,11 @@ |
||
| 93 | 93 | $limit = (int) $request->get('limit'); |
| 94 | 94 | |
| 95 | 95 | // Set defaults if not supplied |
| 96 | - if ($offset === null || ! is_numeric($offset)) { |
|
| 96 | + if ($offset === null || !is_numeric($offset)) { |
|
| 97 | 97 | $offset = 0; |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | - if ($limit === null || ! is_numeric($limit)) { |
|
| 100 | + if ($limit === null || !is_numeric($limit)) { |
|
| 101 | 101 | $limit = 25; |
| 102 | 102 | } |
| 103 | 103 | |