From 8ae9b463c001e6240c2effc4bc2620502d6f5a0b Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Tue, 6 Jun 2017 18:59:22 +0200 Subject: [PATCH] baculum: Fix incorrect table name error during restore start --- gui/baculum/protected/Web/Pages/RestoreWizard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/baculum/protected/Web/Pages/RestoreWizard.php b/gui/baculum/protected/Web/Pages/RestoreWizard.php index 4d88700e63..dc95202ed1 100644 --- a/gui/baculum/protected/Web/Pages/RestoreWizard.php +++ b/gui/baculum/protected/Web/Pages/RestoreWizard.php @@ -413,7 +413,7 @@ class RestoreWizard extends BaculumWebPage public function wizardCompleted() { $jobids = $this->getElementaryBackup(); - $path = self::BVFS_PATH_PREFIX . str_replace(',', '', $jobids); + $path = self::BVFS_PATH_PREFIX . getmypid(); $restoreElements = $this->getRestoreElements(); $cmdProps = array('jobids' => $jobids, 'path' => $path); if(count($restoreElements['fileid']) > 0) { -- 2.39.5