mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Fix null check in PHP
This commit is contained in:
parent
129c666a1a
commit
e1af7ad952
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user