Fix XEVE-18-006

This commit is contained in:
Kijin Sung 2018-12-18 15:50:45 +09:00
parent 6b209f64da
commit 6a9a884680
7 changed files with 56 additions and 17 deletions

View file

@ -412,8 +412,9 @@ class documentAdminController extends document
}
if(!is_array($document_srl_list))
{
$document_srl_list = array_map('intval', array_map('trim', explode(',', $document_srl_list)));
$document_srl_list = array_map('trim', explode(',', $document_srl_list));
}
$document_srl_list = array_map('intval', $document_srl_list);
$obj = new stdClass;
$obj->document_srls = $document_srl_list;
@ -508,8 +509,9 @@ class documentAdminController extends document
}
if(!is_array($document_srl_list))
{
$document_srl_list = array_map('intval', array_map('trim', explode(',', $document_srl_list)));
$document_srl_list = array_map('trim', explode(',', $document_srl_list));
}
$document_srl_list = array_map('intval', $document_srl_list);
$obj = new stdClass;
$obj->document_srls = $document_srl_list;
@ -601,7 +603,7 @@ class documentAdminController extends document
{
$args = new stdClass;
$args->page = 0;
$args->module_srl = $module_srl;
$args->module_srl = intval($module_srl);
$document_list = executeQueryArray('document.getDocumentList', $args, array('document_srl'))->data;
// delete documents