]> BookStack Code Mirror - bookstack/commit
Fixed language locale setting issue
authorDan Brown <redacted>
Mon, 27 Feb 2023 19:09:20 +0000 (19:09 +0000)
committerDan Brown <redacted>
Mon, 27 Feb 2023 19:14:45 +0000 (19:14 +0000)
commit7c27d261616205644e5822061cca412ee4ba2d0a
treee06de8923ef91d99b60e99262e608407b93159e4
parentc7e33d198151d0468b693831e28551bd2c8e8c66
Fixed language locale setting issue

Attempted to access an array that had been filtered and therefore could
have holes within, including as position 0 which would then be
accessed.
Also added cs language to internal map

Related to #4068
app/Util/LanguageManager.php
tests/LanguageTest.php