mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-26 15:20:16 +00:00
Another fix for PHP 8.1
This commit is contained in:
parent
836c715a1c
commit
8f5a1d2bcc
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user