Seems I forgot about empty translated strings

This commit is contained in:
Jeroen De Meerleer 2018-12-20 17:43:07 +01:00 committed by Hypolite Petovan
parent c7d4838400
commit 09e44caf71

View file

@ -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;