removed redundant radio

override when length is 0, not visa versa
This commit is contained in:
Matthew Vale
2015-12-01 11:02:32 +00:00
parent 2998a7cf7e
commit 8df22f0030
2 changed files with 1 additions and 2 deletions

View File

@@ -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;