fix if another language (undefined) not work telegram msg.

This commit is contained in:
Paolo Arena
2022-10-08 14:25:00 +02:00
parent d242a61fe6
commit c9a2302dfb
3 changed files with 12 additions and 1 deletions

View File

@@ -1364,7 +1364,7 @@ function getstr(lang, key, param1) {
}
}
if (mystr === '')
if (!mystr || mystr === '')
mystr = txt[key];
if (!!param1) {