Added limit to search characters (#134)

* Update characters.php

* Update config.php

* Variable name change, better use LIMIT in query instead in loop

* Just to be sure. Security first :)

* use config function

Co-authored-by: slawkens <slawkens@gmail.com>
This commit is contained in:
whiteblXK
2020-07-07 00:31:50 +02:00
committed by GitHub
parent f958b8dd4f
commit dc536f0fc0
2 changed files with 4 additions and 1 deletions

View File

@@ -150,6 +150,9 @@ $config = array(
3 => 'Paladin Sample',
4 => 'Knight Sample'
),
// it must show limited number of players after using search in character page
'characters_search_limit' => 15,
// town list used when creating character
// won't be displayed if there is only one item (rookgaard for example)