From d6e063dd0c174346e5199030d945eebb9622174a Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Thu, 4 Nov 2021 11:14:17 +0100 Subject: [PATCH] check empty uids array --- include/covid/covidhelper.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/covid/covidhelper.class.php b/include/covid/covidhelper.class.php index 0ac546689..b04ff79cc 100644 --- a/include/covid/covidhelper.class.php +++ b/include/covid/covidhelper.class.php @@ -137,7 +137,7 @@ class CovidHelper extends basis_db protected function fetchCovidValidStatus() { - if( !($this->isUdfDefined && is_array($this->uids)) ) + if( !($this->isUdfDefined && is_array($this->uids) && (count($this->uids) > 0)) ) { return; }