// Renamed images types for the default theme (in order to avoid conflicts) #PSCFV-4242

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17474 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
sLorenzini
2012-09-21 14:59:51 +00:00
parent ae7812475e
commit 209e1821ea
574 changed files with 60 additions and 60 deletions
+1 -1
View File
@@ -674,7 +674,7 @@ class InstallXmlLoader
@chmod($target_file, 0644);
}
// Resize the image if no cache was prepared in fixtures
else if (!ImageManager::resize($path.$id.'.jpg', $target_file, $type['width'], $type['height']))
else if (!ImageManager::resize($path.$identifier.'.jpg', $target_file, $type['width'], $type['height']))
$this->setError($this->language->l('Cannot create image "%1$s" for entity "%2$s"', $identifier.'-'.$type['name'], 'product'));
}
}