From 5e66ea20977770df18ddce6c0b7f3330046da8ee Mon Sep 17 00:00:00 2001 From: dingguodong Date: Thu, 28 Sep 2023 13:01:41 +0800 Subject: [PATCH] * Format the code. --- framework/base/helper.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/base/helper.class.php b/framework/base/helper.class.php index ca8c9774b8..6ffad0901f 100644 --- a/framework/base/helper.class.php +++ b/framework/base/helper.class.php @@ -263,7 +263,8 @@ class baseHelper $sqlParts = explode(',', $sql); $wrappedParts = []; - foreach ($sqlParts as $part) { + foreach ($sqlParts as $part) + { if(in_array($part, $reservedWords)) { $wrappedParts[] = '`' . $part . '`'; @@ -279,7 +280,6 @@ class baseHelper { $wrappedParts[] = '`' . $part . '`'; } - } }