Remove leftover header call

This commit is contained in:
Jan Dittberner 2024-05-05 21:22:16 +02:00
parent 560be526c4
commit 5f89d48036

View file

@ -90,7 +90,7 @@ WHERE ec.serial = '%s'
AND ec.disablelogin = 0 AND ec.disablelogin = 0
AND UNIX_TIMESTAMP(ec.expire) > UNIX_TIMESTAMP()", mysql_real_escape_string($serial), AND UNIX_TIMESTAMP(ec.expire) > UNIX_TIMESTAMP()", mysql_real_escape_string($serial),
mysql_real_escape_string($issuer_cn), implode("', '", $addresses_for_sql)); mysql_real_escape_string($issuer_cn), implode("', '", $addresses_for_sql));
header("Content-type: text/plain");
$res = mysql_query($query); $res = mysql_query($query);
if ($res === false) { if ($res === false) {
trigger_error(sprintf("MySQL error %d: %s", mysql_errno(), mysql_error())); trigger_error(sprintf("MySQL error %d: %s", mysql_errno(), mysql_error()));