mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 46 apply server side validator in file module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8503 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a64ab93dc1
commit
3216c884a1
6 changed files with 46 additions and 21 deletions
|
|
@ -129,9 +129,12 @@
|
|||
$doc_srls_count = count($doc_srls);
|
||||
if($doc_srls_count) {
|
||||
$document_output = $oDocumentModel->getDocuments($doc_srls);
|
||||
foreach($document_output as $document) {
|
||||
$document_list[$document->document_srl] = $document;
|
||||
}
|
||||
if(is_array($document_output))
|
||||
{
|
||||
foreach($document_output as $document) {
|
||||
$document_list[$document->document_srl] = $document;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Module List
|
||||
$mod_srls_count = count($mod_srls);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue