Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Tinebase/FileSystem): make upload/save files work for windows ser…
Browse files Browse the repository at this point in the history
…vers #7141

fixes #7141

fix suggested by https://github.com/AndiFo - thanks for that!

Change-Id: I562b7502593b5f131ef736d88cb4853788197c20
Reviewed-on: http://gerrit.tine20.com/customers/16003
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Jenkins CI (http://ci.tine20.com/) <tine20-jenkins@metaways.de>
  • Loading branch information
pschuele committed Mar 6, 2020
1 parent 2925198 commit 7e179af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tine20/Tinebase/FileSystem.php
Expand Up @@ -1099,7 +1099,7 @@ protected function _checkQuotaAndRegisterRefLog(Tinebase_Model_Tree_Node $_node,
}
}

while (($path = dirname($path)) !== '/') {
while (($path = dirname($path)) !== DIRECTORY_SEPARATOR) {
$parentNode = $this->stat($path);
$parentNode->size += $_sizeDiff;
$parentNode->revision_size += $_revisionSizeDiff;
Expand Down

0 comments on commit 7e179af

Please sign in to comment.