issue 70 poll type check error fixed

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8904 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-08-26 02:39:57 +00:00
parent 5dc680b753
commit 2763f31306

View file

@ -57,10 +57,12 @@
$oDocumentModel = &getModel('document');
$targetDocumentOutput = $oDocumentModel->getDocuments($uploadTargetSrlList);
if(!is_array($targetDocumentOutput)) $targetDocumentOutput = array();
$oCommentModel = &getModel('comment');
$columnList = array('comment_srl', 'document_srl');
$targetCommentOutput = $oCommentModel->getComments($uploadTargetSrlList, $columnList);
if(!is_array($targetCommentOutput)) $targetCommentOutput = array();
foreach($output->data AS $key=>$value)
{