// Fix previous commit

This commit is contained in:
dMetzger committed 2012-09-21 16:04:14 +00:00
1 parent c80db3ef07
commit 632dceae6d
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;