From 2ad1036a7fbd43a189689edac247ed9244eb32d9 Mon Sep 17 00:00:00 2001 From: SylvainLelievre Date: Tue, 6 Apr 2021 17:19:39 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'core/class/helper.?= =?UTF-8?q?class.php'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/class/helper.class.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index dd743f11..67b5f815 100755 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -177,13 +177,10 @@ class helper { $delete = true; } // Constante DATADIRECTORY - if ( array_key_exists('DATADIRECTORY', $class_constants) - && $class_constants['DATADIRECTORY'] !== [] - && is_array($class_constants['DATADIRECTORY']) - ) { + if ( array_key_exists('DATADIRECTORY', $class_constants)) { $dataDirectory = $value::DATADIRECTORY; } else { - $dataDirectory = []; + $dataDirectory = ''; } // Affection $modules [$value] = [