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; }