]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Fix incorrect table name error during restore start
authorMarcin Haba <marcin.haba@bacula.pl>
Tue, 6 Jun 2017 16:59:22 +0000 (18:59 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Tue, 6 Jun 2017 17:00:41 +0000 (19:00 +0200)
gui/baculum/protected/Web/Pages/RestoreWizard.php

index 4d88700e6356c908008f86a289ed53d52731246a..dc95202ed15ff402ab1abb8995bd7d97466a7339 100644 (file)
@@ -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) {