Skip to content

Commit a71ccda

Browse files
committed
DAV\PropPatch::handleRemaining should only register one callback
1 parent a6ff593 commit a71ccda

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/DAV/PropPatch.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ public function handleRemaining(callable $callback)
123123
foreach ($properties as $propertyName) {
124124
// HTTP Accepted
125125
$this->result[$propertyName] = 202;
126-
127-
$this->propertyUpdateCallbacks[] = [
128-
$properties,
129-
$callback,
130-
];
131126
}
127+
128+
$this->propertyUpdateCallbacks[] = [
129+
$properties,
130+
$callback,
131+
];
132132
}
133133

134134
/**

0 commit comments

Comments
 (0)