mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
removed redundant radio
override when length is 0, not visa versa
This commit is contained in:
@@ -203,7 +203,7 @@ include "root.php";
|
|||||||
protected function create_database() {
|
protected function create_database() {
|
||||||
require $this->config_php;
|
require $this->config_php;
|
||||||
$this->write_progress("Creating database as " . $this->db_type);
|
$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_username = $this->db_username;
|
||||||
$this->db_create_password = $this->db_password;
|
$this->db_create_password = $this->db_password;
|
||||||
|
|||||||
@@ -245,7 +245,6 @@
|
|||||||
echo " <label class='radio'><input type='checkbox' name='db_create' value='1'";
|
echo " <label class='radio'><input type='checkbox' name='db_create' value='1'";
|
||||||
if($db_create=='1') { echo " checked='checked'"; }
|
if($db_create=='1') { echo " checked='checked'"; }
|
||||||
echo "/>Create the database</label>\n";
|
echo "/>Create the database</label>\n";
|
||||||
echo " <label class='radio'><input type='checkbox' name='db_create_reuse_auth' value='1'";
|
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user