From 6af2256c496b444dae245c7f6df056b23df45ed8 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Thu, 23 Nov 2023 21:29:10 +0300 Subject: [PATCH] =?UTF-8?q?[*]=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=D0=B0=20=D0=BF=D0=BE=D0=B4=20php?= =?UTF-8?q?=208.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/php.xml | 2 +- core/lib/Core/Helpers/SystemFunctions.class.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.idea/php.xml b/.idea/php.xml index ac2ae38..28a18a7 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -238,7 +238,7 @@ - + diff --git a/core/lib/Core/Helpers/SystemFunctions.class.php b/core/lib/Core/Helpers/SystemFunctions.class.php index 16eb729..457cf11 100644 --- a/core/lib/Core/Helpers/SystemFunctions.class.php +++ b/core/lib/Core/Helpers/SystemFunctions.class.php @@ -515,7 +515,8 @@ if (is_array($v)) { $table .= self::arrayToTable($v); } else { - $table .= '
' . htmlspecialchars($v) . '
'; + $v = $v === null ? 'NULL' : htmlspecialchars($v); + $table .= '
' . $v . '
'; } $table .= ''; $table .= '';