From be64c9f5da7a702cbaecdf006d037d9b1a2cadae Mon Sep 17 00:00:00 2001 From: dewekk <60457472+dewekk@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:59:12 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=9C=ED=94=8C=EB=A6=BF=20v2=EC=97=90?= =?UTF-8?q?=EC=84=9C=20load=20=EC=A7=80=EC=8B=9C=EC=9E=90=EC=9D=98=20?= =?UTF-8?q?=EB=B3=80=EC=88=98=EA=B0=80=20=EC=9E=98=EB=AA=BB=20=EC=A0=84?= =?UTF-8?q?=EB=8B=AC=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/framework/Template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/framework/Template.php b/common/framework/Template.php index 0049e68d9..8330aae8a 100644 --- a/common/framework/Template.php +++ b/common/framework/Template.php @@ -694,12 +694,12 @@ class Template } // If any of the variables seems to be an array or object, it's $vars. - if (!is_scalar($media_type)) + if (!is_scalar($media_type ?? '')) { $vars = $media_type; $media_type = null; } - if (!is_scalar($index)) + if (!is_scalar($index ?? '')) { $vars = $index; $index = null;