From bc45092628bcad848ba8906913c7ef048d4c5a69 Mon Sep 17 00:00:00 2001 From: nagatomi Date: Tue, 20 Aug 2024 18:55:08 +0900 Subject: [PATCH] =?UTF-8?q?=E5=A4=89=E6=95=B0=E5=87=BA=E5=8A=9B=E3=81=AE?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E3=82=92PHP8.2.x=E3=81=AB=E5=90=88=E3=82=8F?= =?UTF-8?q?=E3=81=9B=E3=81=A6=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Engine.php b/src/Engine.php index 1700ed9d..e2220618 100644 --- a/src/Engine.php +++ b/src/Engine.php @@ -210,7 +210,7 @@ public function checkCategory($cid, $targetBid) $sql->addWhereOpr('relation_bid', $targetBid); $lang = DB::query($sql->get(dsn()), 'one'); $categoryField = loadCategoryField($cid); - if ($exceptionCode = $categoryField->get("google_translate_relation_category_${lang}_code", false)) { + if ($exceptionCode = $categoryField->get("google_translate_relation_category_{$lang}_code", false)) { $code = $exceptionCode; }