@@ -95,8 +95,8 @@ discard block |
||
| 95 | 95 | $keywords[$keyword['lang'].'_7'] = |
| 96 | 96 | iconv('UTF-8', 'ASCII//TRANSLIT', $value); |
| 97 | 97 | } |
| 98 | - $q ="SELECT DISTINCT realm FROM profile WHERE inst_id=? AND realm NOT LIKE '%hosted.eduroam.org'"; |
|
| 99 | - $realms = $handle->exec($q,'i', $queryResult->inst_id); |
|
| 98 | + $q = "SELECT DISTINCT realm FROM profile WHERE inst_id=? AND realm NOT LIKE '%hosted.eduroam.org'"; |
|
| 99 | + $realms = $handle->exec($q, 'i', $queryResult->inst_id); |
|
| 100 | 100 | while ($outerId = mysqli_fetch_row(/** @scrutinizer ignore-type */ $realms)) { |
| 101 | 101 | if (preg_match('/.*@(.*)$/', $outerId[0], $matches)) { |
| 102 | 102 | $keywords[] = $matches[1]; |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | case 'device-specific:redirect': |
| 346 | 346 | $redirect = $opt[1]; |
| 347 | 347 | if (!empty($profile->device_id)) { |
| 348 | - $redirect .= ':' . $profile->device_id; |
|
| 348 | + $redirect .= ':'.$profile->device_id; |
|
| 349 | 349 | } |
| 350 | 350 | break; |
| 351 | 351 | case 'profile:name': |