Merge branch '12305' into 12400

This commit is contained in:
Fred Tempez 2023-03-31 09:13:41 +02:00
commit a87431fc9c
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# ZwiiCMS 12.3.04
# ZwiiCMS 12.3.05
Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation.

View File

@ -1,4 +1,4 @@
# ZwiiCMS 12.3.04
# ZwiiCMS 12.3.05
Zwii is a database-less (flat-file) CMS that allows you to easily create and manage a web site without any programming knowledge.

View File

@ -178,7 +178,7 @@ class translate extends common
// Check si la langue est bien disponible sinon la supprime de la BDD
if ($installedUI) {
foreach ($installedUI as $key => $value)
if (file_exists(self::I18N_DIR . $key . '.json' ) === false ) {
if (file_exists(self::I18N_DIR . $key . '.json') === false) {
$this->deleteData(['languages', $key]);
}
}