Bernd Wurst commited on 2019-06-16 20:58:42
Zeige 1 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.
| ... | ... |
@@ -30,7 +30,7 @@ if (isset($_GET['aliaswww'])) {
|
| 30 | 30 |
$old_options = explode(',', $alias['options']);
|
| 31 | 31 |
$new_options = array(); |
| 32 | 32 |
foreach ($old_options as $op) {
|
| 33 |
- if ($op != 'aliaswww') {
|
|
| 33 |
+ if ($op !== '' && $op != 'aliaswww') {
|
|
| 34 | 34 |
array_push($new_options, $op); |
| 35 | 35 |
} |
| 36 | 36 |
} |
| ... | ... |
@@ -58,7 +58,7 @@ if (isset($_GET['forward'])) {
|
| 58 | 58 |
$old_options = explode(',', $alias['options']);
|
| 59 | 59 |
$new_options = array(); |
| 60 | 60 |
foreach ($old_options as $op) {
|
| 61 |
- if ($op != 'forward') {
|
|
| 61 |
+ if ($op !== '' && $op != 'forward') {
|
|
| 62 | 62 |
array_push($new_options, $op); |
| 63 | 63 |
} |
| 64 | 64 |
} |
| 65 | 65 |