fix user info for .po comments
This commit is contained in:
parent
1fad524e7c
commit
a81484dfa5
@ -646,7 +646,7 @@ class dcTranslaterModule
|
||||
'# Module: ' . $this->id . " - " . $this->version . "\n" .
|
||||
'# Date: ' . dt::str('%Y-%m-%d %H:%M:%S') . "\n";
|
||||
|
||||
if ($this->translater->parse_user && !empty($this->translater->parse_userinfo)) {
|
||||
if ($this->translater->parse_user && $this->translater->parse_userinfo != '') {
|
||||
$search = dctranslater::$allowed_user_informations;
|
||||
foreach($search AS $n) {
|
||||
$replace[] = $this->core->auth->getInfo('user_' . $n);
|
||||
|
Loading…
Reference in New Issue
Block a user