// merge, fix from 1.4 PSCFI-1466

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@5928 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-04-15 14:39:53 +00:00
parent 118f04c0a6
commit 50531eae8f
+1 -1
View File
@@ -877,7 +877,7 @@ if ($lm->getIncludeTradFilename())
if ($file != '.' AND $file != '..')
{
$version = str_replace('.sql', '', $file);
if (version_compare($version, _PS_VERSION_) == 1 AND version_compare(INSTALL_VERSION, $version) != -1)
if (version_compare($version, $oldversion) == 1 AND version_compare(INSTALL_VERSION, $version) != -1)
{
$major = false;
if (in_array($version, array('0.9.7.2', '1.0.0.8', '1.1.0.5', '1.2.5.0', '1.3.0.10', '1.4.0.17')))