Fix gitea

This commit is contained in:
Mateusz Pieła 2021-04-27 09:13:39 +02:00
parent aed6d04e19
commit 0f5c0a3dc4

View file

@ -90,7 +90,7 @@ class app
private function checkIfFilterNeeded()
{
if(in_array("HTTP_X_GITEA_DELIVERY",$_SERVER))
if(array_key_exists("HTTP_X_GITEA_DELIVERY",$_SERVER))
{
return 'gitea';
}