mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +01:00
fix wrong http status code set, when file not found or any other error
This commit is contained in:
parent
f325e15108
commit
dd9a0dd788
@ -32,7 +32,7 @@ $GLOBALS['egw']->session->commit_session();
|
|||||||
|
|
||||||
if (!read_thumbnail(get_srcfile()))
|
if (!read_thumbnail(get_srcfile()))
|
||||||
{
|
{
|
||||||
header('404 Not found');
|
http_response_code(404); // Not found
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user