diff options
Diffstat (limited to 'archlinuxaba/bareos/restore-form.patch')
-rw-r--r-- | archlinuxaba/bareos/restore-form.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/archlinuxaba/bareos/restore-form.patch b/archlinuxaba/bareos/restore-form.patch new file mode 100644 index 0000000..9860474 --- /dev/null +++ b/archlinuxaba/bareos/restore-form.patch @@ -0,0 +1,12 @@ +--- bareos/webui/module/Restore/src/Restore/Form/RestoreForm.php 2020-02-21 23:01:23.000000000 +0200 ++++ bareos/webui/module/Restore/src/Restore/Form/RestoreForm.php 2020-04-09 23:28:34.194634728 +0300 +@@ -244,7 +244,8 @@ + )); + } + else { +- if(!empty($this->restore_params['client']) && count($this->getRestoreJobList()) == 1) { ++ // if(!empty($this->restore_params['client']) && count($this->getRestoreJobList()) == 1) { ++ if(!empty($this->restore_params['client']) && count($this->getRestoreJobList()) > 0) { + $this->add(array( + 'name' => 'restorejob', + 'type' => 'select', |