Permalink
Browse files

Fix zip creation : wrong nodesDiff sent.

  • Loading branch information...
1 parent 97fb934 commit db19b3ac559961d39159f746846f556016bdbbfd @cdujeu cdujeu committed Jun 21, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/access.fs/class.fsAccessDriver.php
@@ -742,7 +742,7 @@ public function switchAction(ServerRequestInterface &$request, ResponseInterface
throw $e;
}
@rename($tmpFNAME, $urlBase.$dir."/".$localName);
- $newArchiveNode = $currentDirNode->getParent()->createChildNode($localName);
+ $newArchiveNode = $currentDirNode->createChildNode($localName);
Controller::applyHook("node.change", [null, $newArchiveNode, false], true);
if($taskId !== null){
TaskService::getInstance()->updateTaskStatus($taskId, Task::STATUS_COMPLETE, "Finished compression in background");

0 comments on commit db19b3a

Please sign in to comment.