Skip to content

Commit

Permalink
DAV\PropPatch::handleRemaining should only register one callback
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmhh committed Jul 5, 2024
1 parent 7a736b7 commit 937322c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/DAV/PropPatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ public function handleRemaining(callable $callback)
foreach ($properties as $propertyName) {
// HTTP Accepted
$this->result[$propertyName] = 202;

$this->propertyUpdateCallbacks[] = [
$properties,
$callback,
];
}

$this->propertyUpdateCallbacks[] = [
$properties,
$callback,
];
}

/**
Expand Down

0 comments on commit 937322c

Please sign in to comment.