We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e43c8 commit b6290c2Copy full SHA for b6290c2
1 file changed
apps/dav/lib/Connector/Sabre/File.php
@@ -366,7 +366,8 @@ public function put($data) {
366
}
367
368
// since we skipped the view we need to scan and emit the hooks ourselves
369
- $storage->getUpdater()->update($internalPath, null, ($writtenByteCount - $previousFileSize));
+ $sizeDifference = isset($previousFileSize, $writtenByteCount) ? ($writtenByteCount - $previousFileSize) : null;
370
+ $storage->getUpdater()->update($internalPath, null, $sizeDifference);
371
372
try {
373
$this->changeLock(ILockingProvider::LOCK_SHARED);
0 commit comments