diff options
-rw-r--r-- | lib.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -179,8 +179,10 @@ P; global $_t; - $_t[$s] = trim(str_replace(array('{ok}', '{OK}', '{Ok}', '{oK}'), '', $_t[$s])); - return array_key_exists($s, $_t) ? $_t[$s] : $s; + $s = array_key_exists($s, $_t) ? $_t[$s] : $s; + $s = trim(str_replace(array('{ok}', '{OK}', '{Ok}', '{oK}'), '', $s)); + + return $s; } } |