* fixed input prompt broken after iputting aowow's info
This commit is contained in:
Sarjuuk
2020-06-01 12:24:54 +02:00
parent 7b9b542e65
commit 184e5e5c8d

View File

@@ -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]*/'];