diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e580e5657a..be2db7ad0d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2013-02-01 Junichi Satoh + + * godmode/setup/setup.php: Fixed error without enterprise. + 2013-01-31 Ramon Novoa * extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql, diff --git a/pandora_console/godmode/setup/setup.php b/pandora_console/godmode/setup/setup.php index b35c13ea27..97cbbd2388 100644 --- a/pandora_console/godmode/setup/setup.php +++ b/pandora_console/godmode/setup/setup.php @@ -72,7 +72,9 @@ $buttons['general'] = array('active' => false, 'text' => '' . html_print_image("images/god6.png", true, array ("title" => __('General'))) . ''); -$buttons = setup_enterprise_add_Tabs($buttons); +if (enterprise_installed()) { + $buttons = setup_enterprise_add_Tabs($buttons); +} $buttons['auth'] = array('active' => false, 'text' => '' . @@ -94,7 +96,9 @@ if (check_acl ($config['id_user'], 0, "AW")) { } } -$subpage = setup_enterprise_add_subsection_main($section, $buttons); +if (enterprise_installed()) { + $subpage = setup_enterprise_add_subsection_main($section, $buttons); +} switch ($section) { case 'general':