Seems I forgot about empty translated strings
This commit is contained in:
parent
c7d4838400
commit
09e44caf71
|
@ -265,6 +265,7 @@ function update_1293()
|
|||
$success = 0;
|
||||
$fail = 0;
|
||||
foreach ($allGenders as $key => $gender) {
|
||||
if ($gender['gender'] != '') {
|
||||
foreach ($allLangs as $key => $lang) {
|
||||
|
||||
$a = new \stdClass();
|
||||
|
@ -298,6 +299,7 @@ function update_1293()
|
|||
$success++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Logger::log("Gender fix completed. Success: $success. Fail: $fail");
|
||||
return Update::SUCCESS;
|
||||
|
|
Loading…
Reference in a new issue