fix sql-error in new code from previous commit

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-02-11 18:20:43 +01:00
parent e3e4dba90d
commit cdd1f0bb65

View File

@@ -1623,7 +1623,7 @@ if ($page == 'domains'
// all its subdomains must have "ssl-redirect = 0" // all its subdomains must have "ssl-redirect = 0"
$update_sslredirect = ''; $update_sslredirect = '';
if (count($ssl_ipandports) == 1 && $ssl_ipandports[0] == -1) { if (count($ssl_ipandports) == 1 && $ssl_ipandports[0] == -1) {
$update_sslredirect = ", `ssl_redirect = '0' "; $update_sslredirect = ", `ssl_redirect` = '0' ";
} }
$_update_stmt = Database::prepare(" $_update_stmt = Database::prepare("