mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Contacts: Use int instead of bool to help pgsql ;)
This commit is contained in:
parent
464919e93c
commit
358a41a8ac
@ -374,10 +374,10 @@ class App {
|
||||
if(!in_array($property->name, self::$index_properties)) {
|
||||
continue;
|
||||
}
|
||||
$preferred = false;
|
||||
$preferred = 0;
|
||||
foreach($property->parameters as $parameter) {
|
||||
if($parameter->name == 'TYPE' && strtoupper($parameter->value) == 'PREF') {
|
||||
$preferred = true;
|
||||
$preferred = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user