From c02f39cf93a4c82fd2ad3573235ddbc8e08bd571 Mon Sep 17 00:00:00 2001 From: Taras Machyshyn Date: Fri, 27 Sep 2019 13:06:22 +0300 Subject: [PATCH] Upgrade: bug fixes --- application/Espo/Core/Upgrades/Actions/Base.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/Espo/Core/Upgrades/Actions/Base.php b/application/Espo/Core/Upgrades/Actions/Base.php index 1cba19ea59..1bedd10bc6 100644 --- a/application/Espo/Core/Upgrades/Actions/Base.php +++ b/application/Espo/Core/Upgrades/Actions/Base.php @@ -760,7 +760,8 @@ abstract class Base protected function checkIsWritable() { - $fullFileList = array_merge($this->getDeleteFileList(), $this->getCopyFileList()); + $backupPath = $this->getPath('backupPath'); + $fullFileList = array_merge([$backupPath], $this->getDeleteFileList(), $this->getCopyFileList()); $result = $this->getFileManager()->isWritableList($fullFileList); if (!$result) {