fixed copy page module

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9158 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2011-09-15 08:41:19 +00:00
parent 4c2a13d0ae
commit c68838cb98
2 changed files with 16 additions and 3 deletions

View file

@ -289,9 +289,11 @@
$document_list = $oDocumentModel->getDocumentList($args);
$documents = $document_list->data;
$output = executeQuery('document.deleteModuleDocument', $args);
foreach ($documents as $oDocument){
$document_srl_list[] = $oDocument->document_srl;
}
if (is_array($documents)){
foreach ($documents as $oDocument){
$document_srl_list[] = $oDocument->document_srl;
}
}
//remove from cache
$oCacheHandler = &CacheHandler::getInstance('object');
if($oCacheHandler->isSupport())