From 834de6a5f2d450eea768616fec6bec22c676d8a1 Mon Sep 17 00:00:00 2001 From: Prof Langues Date: Tue, 9 Feb 2021 15:56:22 +0100 Subject: [PATCH] 10402 bug import de theme --- core/module/theme/theme.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 32da51ec..a3c1b137 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -746,7 +746,6 @@ class theme extends common { foreach ($itemKeys as $key2 => $value) { // Données nulles ou vides instaurer la donnée par défaut if ($this->getData(['theme',$key1,$key2]) === NULL - OR empty($this->getData(['theme',$key1,$key2]) ) ) { $this->setData(['theme',$key1,$key2,$value]); } @@ -761,7 +760,6 @@ class theme extends common { foreach ($itemKeys as $key1 => $value) { // Données nulles ou vides instaurer la donnée par défaut if ($this->getData(['admin',$key1]) === NULL - OR empty($this->getData(['admin',$key1]) ) ) { $this->setData(['admin',$key1,$value]); }