fix creating of ssl-redirect without ssl-ip/port, fixes #1303

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-11-21 08:01:43 +01:00
parent 254672f2dd
commit b8952259ba
6 changed files with 48 additions and 37 deletions

View File

@@ -544,6 +544,7 @@ if ($page == 'domains'
}
}
} else {
$ssl_redirect = 0;
// we need this for the serialize
// if ssl is disabled or no ssl-ip/port exists
$ssl_ipandports[] = -1;
@@ -1299,6 +1300,7 @@ if ($page == 'domains'
}
}
} else {
$ssl_redirect = 0;
// we need this for the serialize
// if ssl is disabled or no ssl-ip/port exists
$ssl_ipandports[] = -1;