Another fix for PHP 8.1

This commit is contained in:
Andrew Ruthven 2022-02-13 01:34:55 +13:00
parent 836c715a1c
commit 8f5a1d2bcc

View File

@ -131,6 +131,7 @@ function SqlFilterCardDAV( $filter, $components, $property = null, $parameter =
}
$collation = $filter->GetAttribute("collation");
if (! isset($collation) ) $collation = '';
switch( strtolower($collation) ) {
case 'i;octet':
$comparison = 'LIKE';
@ -144,6 +145,7 @@ function SqlFilterCardDAV( $filter, $components, $property = null, $parameter =
$search = $filter->GetContent();
$match = $filter->GetAttribute("match-type");
if (! isset($match) ) $match = '';
switch( strtolower($match) ) {
case 'equals':
break;