Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit c89572dd authored by Nicolas's avatar Nicolas
Browse files

fix: Fix setup:upgrade when return value is null

parent 9bd9be7d
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,13 @@ class ProductImages extends AbstractHelper
return '_';
}
return $this->scopeConfig->getValue('importimagesproduct/pattern/delimiter', ScopeInterface::SCOPE_STORE, $storeId);
$value = $this->scopeConfig->getValue('importimagesproduct/pattern/delimiter', ScopeInterface::SCOPE_STORE, $storeId);
if (is_null($value)) {
return '_';
}
return $value;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment