From 798bc6269f231a68be30fbc1604f25b00fc403af Mon Sep 17 00:00:00 2001 From: flyskyko Date: Mon, 17 Sep 2012 09:42:17 +0000 Subject: [PATCH] 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 --- classes/frontendfile/FrontEndFileHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/frontendfile/FrontEndFileHandler.class.php b/classes/frontendfile/FrontEndFileHandler.class.php index 5094585cb..bf68d40e9 100644 --- a/classes/frontendfile/FrontEndFileHandler.class.php +++ b/classes/frontendfile/FrontEndFileHandler.class.php @@ -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;