From 8df22f0030c53b669b03edab8265228024353b28 Mon Sep 17 00:00:00 2001 From: Matthew Vale Date: Tue, 1 Dec 2015 11:02:32 +0000 Subject: [PATCH] removed redundant radio override when length is 0, not visa versa --- core/install/resources/classes/install_fusionpbx.php | 2 +- core/install/resources/page_parts/install_config_database.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/install/resources/classes/install_fusionpbx.php b/core/install/resources/classes/install_fusionpbx.php index 1253f3da60..cc15ecdf8a 100644 --- a/core/install/resources/classes/install_fusionpbx.php +++ b/core/install/resources/classes/install_fusionpbx.php @@ -203,7 +203,7 @@ include "root.php"; protected function create_database() { require $this->config_php; $this->write_progress("Creating database as " . $this->db_type); - if($this->db_create and strlen($this->db_create_username) > 0) + if($this->db_create and strlen($this->db_create_username) == 0) { $this->db_create_username = $this->db_username; $this->db_create_password = $this->db_password; diff --git a/core/install/resources/page_parts/install_config_database.php b/core/install/resources/page_parts/install_config_database.php index cf782d498b..054059e742 100644 --- a/core/install/resources/page_parts/install_config_database.php +++ b/core/install/resources/page_parts/install_config_database.php @@ -245,7 +245,6 @@ echo " \n"; - echo "