diff --git a/grumphp.yml b/grumphp.yml index 70be4588..a8ce5f9f 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -37,7 +37,7 @@ parameters: # For Building Splash Module mod-src: '/modules/splashsync' mod-target: 'splashsync/' - mod-file: "splashsync.2.8.7" + mod-file: "splashsync.2.8.8" # For Building Splash Manifest yml-enable: false diff --git a/modules/splashsync/splashsync.php b/modules/splashsync/splashsync.php index a59336ef..8223b86e 100644 --- a/modules/splashsync/splashsync.php +++ b/modules/splashsync/splashsync.php @@ -74,7 +74,7 @@ public function __construct() // Init Module Main Information Fields $this->name = 'splashsync'; $this->tab = 'administration'; - $this->version = '2.8.7'; + $this->version = '2.8.8'; $this->author = 'SplashSync'; $this->need_instance = 0; $this->ps_versions_compliancy = array('min' => '1.7', 'max' => '8.99.99'); diff --git a/modules/splashsync/src/Objects/Product/ImagesTrait.php b/modules/splashsync/src/Objects/Product/ImagesTrait.php index b4929bd6..cd078af9 100644 --- a/modules/splashsync/src/Objects/Product/ImagesTrait.php +++ b/modules/splashsync/src/Objects/Product/ImagesTrait.php @@ -254,7 +254,7 @@ protected function buildInfo($imageId): ArrayObject //====================================================================// // Encode Image in Splash Format $splashImage = self::images()->encode( - $defaultLegend, + $defaultLegend ?: $filename, $objectImage->id.".".$objectImage->image_format, _PS_PROD_IMG_DIR_.$objectImage->getImgFolder(), $publicUrl->getImageLink($imageName, (string) $imageId)