issue 2090, do not change index when load same front-end file that have higher index then before loaded

git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11273 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-09-17 09:42:17 +00:00
parent b4e53d306f
commit 798bc6269f

View file

@ -164,7 +164,7 @@
}
(is_null($file->index))?$file->index=0:$file->index=$file->index;
if (!isset($map[$file->index][$key]) || $mapIndex[$key] != $file->index)
if (!isset($map[$file->index][$key]) || $mapIndex[$key] > $file->index)
{
$this->unloadFile($args[0], $args[2], $args[1]);
$map[$file->index][$key] = $file;