// Fix previous commit

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17477 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger committed 2012-09-21 16:04:14 +00:00
1 parent 972fbc2312
commit 7906a39f9c
1 file changed
+1 -1
+1 -1
View File
@@ -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;