mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/DB
* fixed input prompt broken after iputting aowow's info
This commit is contained in:
@@ -83,7 +83,7 @@ function dbconfig()
|
|||||||
{
|
{
|
||||||
if ($inp['idx'] >= 0 && $inp['idx'] <= (3 + $nCharDBs))
|
if ($inp['idx'] >= 0 && $inp['idx'] <= (3 + $nCharDBs))
|
||||||
{
|
{
|
||||||
$curFields = $inp['idx'] ? $dbFields : array_splice($dbFields, 0, 4);
|
$curFields = $inp['idx'] ? $dbFields : array_slice($dbFields, 0, 4);
|
||||||
|
|
||||||
if ($inp['idx'] == 3 + $nCharDBs) // add new realmDB
|
if ($inp['idx'] == 3 + $nCharDBs) // add new realmDB
|
||||||
$curFields['realmId'] = ['Realm Id', false, '/[1-9][0-9]*/'];
|
$curFields['realmId'] = ['Realm Id', false, '/[1-9][0-9]*/'];
|
||||||
|
|||||||
Reference in New Issue
Block a user