fixing issue of Custom Case List not showed, and some translation issues

This commit is contained in:
Fernando Ontiveros
2025-08-13 22:47:29 -04:00
parent 790ef2fca2
commit 6c857e9e77
5 changed files with 26 additions and 26 deletions

View File

@@ -534,6 +534,7 @@ class Bootstrap
// if the default translations table doesn't exist we can't proceed
if (!is_file(PATH_LANGUAGECONT . 'translation.en')) {
error_log("The default translations table doesn't exist we can't get the translation " . PATH_LANGUAGECONT );
return null;
}
global $translation;
@@ -874,7 +875,7 @@ class Bootstrap
return 'var TRANSLATIONS_' . strtoupper($typeName) . ' = ' . Bootstrap::json_encode($translationToEncode) . ';';
} else {
error_log("Missing or invalid translation array for type: " . $typeName);
return '';
return '';
}
}
return '';