issue 2322 whne recompile cache, link error of virtual site menu

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11123 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2012-08-30 05:16:01 +00:00
parent 4fedfd7e99
commit 2548b3702e

View file

@ -407,6 +407,7 @@
*/
function executeQuery($query_id, $args = NULL, $arg_columns = NULL) {
static $cache_file = array();
if(!$query_id) return new Object(-1, 'msg_invalid_queryid');
if(!$this->db_type) return;
@ -414,7 +415,7 @@
$this->query_id = $query_id;
if(!isset($cache_file[$query_id])) {
if(!isset($cache_file[$query_id]) || !file_exists($cache_file[$query_id])) {
$id_args = explode('.', $query_id);
if(count($id_args) == 2) {
$target = 'modules';