remove multiple spaces

This commit is contained in:
Ibnu Maksum
2024-02-21 11:54:22 +07:00
parent a44190c1c2
commit 702f2b443c
3 changed files with 39 additions and 27 deletions

View File

@ -12,6 +12,7 @@ class Lang
{
global $_L, $lan_file, $config;
$_L = $_SESSION['Lang'];
$key = preg_replace('/\s+/', ' ', $key);
if (!empty($_L[$key])) {
return $_L[$key];
}