install.php
changeset 262 596945fa6e56
parent 258 808281bfd200
child 266 917dcc6c4ceb
child 267 43add2be1371
--- a/install.php	Sat Nov 17 18:51:06 2007 -0500
+++ b/install.php	Sat Nov 17 18:54:13 2007 -0500
@@ -1125,7 +1125,7 @@
           document.getElementById('s_db_host').src='images/bad.gif';
           ret = false;
         }
-        if(frm.db_name.value.match(/^([a-z0-9_]+)$/g))
+        if(frm.db_name.value.match(/^([a-z0-9_-]+)$/g))
         {
           document.getElementById('s_db_name').src='images/unknown.gif';
         }