From: Marcin Haba Date: Sun, 25 Aug 2019 05:54:47 +0000 (+0200) Subject: baculum: Fix directing to default API page when API settings has not been created yet X-Git-Tag: Release-9.6.0~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9473e9400a625b7ffa983308a11251604b11073c;p=thirdparty%2Fbacula.git baculum: Fix directing to default API page when API settings has not been created yet --- diff --git a/gui/baculum/protected/API/Pages/Panel/APIHome.php b/gui/baculum/protected/API/Pages/Panel/APIHome.php index c5f2a2136..9991cef79 100644 --- a/gui/baculum/protected/API/Pages/Panel/APIHome.php +++ b/gui/baculum/protected/API/Pages/Panel/APIHome.php @@ -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);