We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 781933f commit 7a66a70Copy full SHA for 7a66a70
app/Services/Parser/SC/AbstractCommodityItem.php
@@ -114,6 +114,9 @@ protected function getDescriptionText(string $description): string
114
protected function getName(array $attachDef, string $default): string
115
{
116
$key = substr($attachDef['Localization']['Name'], 1);
117
+ if (str_contains($key, '_Desc_')) {
118
+ $key = str_replace('_Desc_', '_Name_', $key);
119
+ }
120
$name = $this->labels->getData()->get($key);
121
$nameP = $this->labels->getData()->get($key.',P');
122
$name = $this->cleanString(trim($name ?? $nameP ?? $default));
0 commit comments