// Fix previous commit
This commit is contained in:
1 parent
c80db3ef07
commit
632dceae6d
1 file changed
+1
-1
@@ -621,7 +621,7 @@ class InstallXmlLoader
|
|||||||
$dst_path = _PS_IMG_DIR_.'scenes/thumbs/';
|
$dst_path = _PS_IMG_DIR_.'scenes/thumbs/';
|
||||||
$entity_id = $this->retrieveId('scene', $identifier);
|
$entity_id = $this->retrieveId('scene', $identifier);
|
||||||
|
|
||||||
if (!@copy($from_path.$identifier.'-thumb_scene.jpg', $dst_path.$entity_id.'-thumb_scene.jpg'))
|
if (!@copy($from_path.$identifier.'-m_scene_default.jpg', $dst_path.$entity_id.'-m_scene_default.jpg'))
|
||||||
{
|
{
|
||||||
$this->setError($this->language->l('Cannot create image "%1$s" for entity "%2$s"', $identifier, 'scene'));
|
$this->setError($this->language->l('Cannot create image "%1$s" for entity "%2$s"', $identifier, 'scene'));
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user