diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-06-29 04:09:50 -0700 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-06-29 04:09:50 -0700 |
commit | 414b5f150e64b88b5b7b41fbcc05d13c0797ab08 (patch) | |
tree | 8cfddc675089c397dde1b281d3b1ead7a1e9929e | |
parent | bd3e266408f8d313d0a1d545e16a85bf6ef31500 (diff) | |
parent | 1d799f22c1a8cec5a8dd45a0fdd182c011a6f5f0 (diff) | |
download | nextcloud-server-414b5f150e64b88b5b7b41fbcc05d13c0797ab08.tar.gz nextcloud-server-414b5f150e64b88b5b7b41fbcc05d13c0797ab08.zip |
Merge pull request #2914 from Kondou-ger/label_overlapping_value
Fix textfield label overlapping value.
-rw-r--r-- | core/templates/installation.php | 2 | ||||
-rw-r--r-- | lib/setup.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php index de7ff8c168c..7f2796a4b31 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -165,7 +165,7 @@ <p class="infield groupbottom"> <label for="dbhost" class="infield" id="dbhostlabel"><?php p($l->t( 'Database host' )); ?></label> <input type="text" name="dbhost" id="dbhost" placeholder="" - value="<?php p(OC_Helper::init_var('dbhost', 'localhost')); ?>" /> + value="<?php p(OC_Helper::init_var('dbhost')); ?>" /> </p> </fieldset> diff --git a/lib/setup.php b/lib/setup.php index 61ef7d22b11..741a1837ccc 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -61,7 +61,7 @@ class OC_Setup { $error[] = $l->t("%s you may not use dots in the database name", array($dbprettyname)); } if($dbtype != 'oci' && empty($options['dbhost'])) { - $error[] = $l->t("%s set the database host.", array($dbprettyname)); + $options['dbhost'] = 'localhost'; } } |