Fix null check in PHP

This commit is contained in:
Mike Primm 2022-02-04 15:40:38 -06:00
parent 129c666a1a
commit e1af7ad952

View File

@ -95,10 +95,10 @@ if ($stmt->fetch()) {
}
header('ETag: \'' . $thash . '\'');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $tlast / 1000) . ' GMT');
if ($tnewimage) {
echo $tnewimage;
} else {
if (is_null($tnewimage)) {
echo $timage;
} else {
echo $tnewimage;
}
} else {
header('Location: ../images/blank.png');