]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Fix directing to default API page when API settings has not been created yet
authorMarcin Haba <marcin.haba@bacula.pl>
Sun, 25 Aug 2019 05:54:47 +0000 (07:54 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Sat, 14 Dec 2019 14:55:59 +0000 (15:55 +0100)
gui/baculum/protected/API/Pages/Panel/APIHome.php

index c5f2a21366ab7a7efd9f315c5a621422a8c2c771..9991cef791619c208d80b5d1d73a94dbb47060c7 100644 (file)
@@ -35,7 +35,7 @@ class APIHome extends BaculumAPIPage {
                $config = $this->getModule('api_config')->getConfig();
                if(count($config) === 0) {
                        // Config doesn't exist, go to wizard
-                       $this->goToPage('Panel.APIInstallWizard');
+                       $this->goToPage('APIInstallWizard');
                        return;
                } elseif (!$this->IsCallback) {
                        $this->loadBasicUsers(null, null);