From: Marcin Haba Date: Tue, 6 Jun 2017 16:59:22 +0000 (+0200) Subject: baculum: Fix incorrect table name error during restore start X-Git-Tag: Release-7.9.4~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;ds=sidebyside;h=8ae9b463c001e6240c2effc4bc2620502d6f5a0b;p=bacula%2Fbacula baculum: Fix incorrect table name error during restore start --- 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) {