Issue 373: Patch for /branches/1.5.0/modules/document/document.item.php

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9620 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-10-12 18:30:32 +00:00
parent 106be2b3f8
commit abae1ca3b0

View file

@ -38,7 +38,8 @@
$args->document_srl = $this->document_srl;
$output = executeQuery('document.getDocument', $args, $this->columnList);
//insert in cache
if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key,$output);
if($output->data->document_srl && $oCacheHandler->isSupport())
$oCacheHandler->put($cache_key,$output);
}
$this->setAttribute($output->data,$load_extra_vars);
}