From 9ecacd2ad1cfccf8ad7c8d0f1060930af433db28 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 9 Mar 2023 17:13:46 +0800 Subject: [PATCH] * Fix bug 32769. --- module/dev/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/dev/model.php b/module/dev/model.php index cf4c7cd2af..57d487095a 100644 --- a/module/dev/model.php +++ b/module/dev/model.php @@ -536,13 +536,13 @@ class devModel extends model break; } - foreach($customeds as $type => $customed) + foreach($customeds as $customType => $customed) { if(is_array($customed)) { foreach($customed as $row) { - $langKey = $type == 'featureBar' ? "featureBar-{$method}_" : $row->section . '_'; + $langKey = $customType == 'featureBar' ? "featureBar-{$method}_" : $row->section . '_'; $rowKey = $row->key; $customedLangs[$langKey . $rowKey] = $row->value; }