summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-01-06 14:03:02 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2013-01-06 14:03:02 -0800
commit7ca740fa3deb0ca9844afe6e91a622d5bf7c6c58 (patch)
tree2b5c0408323f6f97d71ce5f50926d8fa69a35e7d
parent08d7b8ce309baebfc243727c215b63e732bf874e (diff)
parentbbe805b665ddf188c2f1b1b88c4e47052629234b (diff)
downloadnextcloud-server-7ca740fa3deb0ca9844afe6e91a622d5bf7c6c58.tar.gz
nextcloud-server-7ca740fa3deb0ca9844afe6e91a622d5bf7c6c58.zip
Merge pull request #632 from owncloud/fix_629
fix pattern for database names - #629
-rw-r--r--core/templates/installation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 28fbf29b540..3128c4f2e70 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -113,7 +113,7 @@
</p>
<p class="infield groupmiddle">
<label for="dbname" class="infield"><?php echo $l->t( 'Database name' ); ?></label>
- <input type="text" name="dbname" id="dbname" value="<?php print OC_Helper::init_var('dbname'); ?>" autocomplete="off" pattern="[0-9a-zA-Z$_]+" />
+ <input type="text" name="dbname" id="dbname" value="<?php print OC_Helper::init_var('dbname'); ?>" autocomplete="off" pattern="[0-9a-zA-Z$_-]+" />
</p>
</div>
<?php endif; ?>