← All changes
|
includes/Admin/Product/Data/Handlers/SimpleProductHandler.php
+1
-1
1.10.27
→
1.1.26
View file →
| @@ -43,9 +43,9 @@ | ||
| 43 | 43 | $name = $prefix ? "{$prefix} {$baseName}" : $baseName; |
| 44 | 44 | $name = $suffix ? "{$name} {$suffix}" : $name; |
| 45 | 45 | |
| 46 | 46 | $attributeSuffix = $this->attributeService->getAttributeSuffix($product); |
| 47 | - if ($attributeSuffix !== null && $attributeSuffix !== '') $name .= " ({$attributeSuffix})"; | |
| 47 | + if ($attributeSuffix) $name .= " ({$attributeSuffix})"; | |
| 48 | 48 | |
| 49 | 49 | return mb_substr($name, 0, 120); |
| 50 | 50 | } |
| 51 | 51 | |