mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
Use code 204 instead of 404 to avoid browser treating it like an error
This commit is contained in:
parent
08445f2857
commit
649b0bfd59
@ -2764,7 +2764,7 @@ class Contacts extends Contacts\Storage
|
||||
{
|
||||
Session::cache_control(86400); // cache for 1 day
|
||||
header('Content-type: image/jpeg');
|
||||
http_response_code(404);
|
||||
http_response_code(204);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user