Skip to content

Commit

Permalink
WIP: MSF Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
BadPixxel committed Jul 20, 2020
1 parent c4cb4db commit be7a7a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/splashsync/src/Objects/Product/DescTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ protected function setDescFields($fieldName, $fieldData)

break;
case 'description_short':
$maxLength = (int)Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT');
$this->setMultilang($baseFieldName, $idLang, $fieldData, $maxLength);
$maxLength = (int) Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT');
$this->setMultilang($baseFieldName, $idLang, $fieldData, $maxLength ? $maxLength : null);
unset($this->in[$fieldName]);

break;
Expand Down
2 changes: 1 addition & 1 deletion modules/splashsync/src/Objects/Product/MainTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
use Configuration;
use Splash\Components\UnitConverter as Units;
use Splash\Local\Services\MultiShopManager as MSM;
use Translate;
use Tools;
use Translate;

/**
* Access to Product Main Fields
Expand Down

0 comments on commit be7a7a4

Please sign in to comment.