mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-08-02 20:24:49 +02:00
minor fixes
This commit is contained in:
parent
d3eb42cd90
commit
acb32ab84d
15 changed files with 60 additions and 47 deletions
|
|
@ -97,12 +97,7 @@ class DiscoverHandler {
|
|||
foreach ($propertyDefinitions as $propertyDefinition) {
|
||||
$key = $this->hashDefinition($propertyDefinition);
|
||||
if (!isset($groups[$key])) {
|
||||
$desc = new PropDesc();
|
||||
$desc->dataType = $propertyDefinition->dataType;
|
||||
$desc->sortable = $propertyDefinition->sortable;
|
||||
$desc->selectable = $propertyDefinition->selectable;
|
||||
$desc->searchable = $propertyDefinition->searchable;
|
||||
$groups[$key] = $desc;
|
||||
$groups[$key] = new PropDesc($propertyDefinition);
|
||||
}
|
||||
$groups[$key]->properties[] = $propertyDefinition->name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue