mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix uninitialized stdClass in rarely used method
This commit is contained in:
parent
3bd25f9538
commit
508b6ed340
24 changed files with 68 additions and 19 deletions
|
|
@ -37,6 +37,7 @@ class documentAdminModel extends document
|
|||
unset($obj->mid);
|
||||
}
|
||||
// check if the module_srl is an array
|
||||
$args = new stdClass();
|
||||
if(is_array($obj->module_srl)) $args->module_srl = implode(',', $obj->module_srl);
|
||||
else $args->module_srl = $obj->module_srl;
|
||||
// Variable check
|
||||
|
|
@ -81,6 +82,7 @@ class documentAdminModel extends document
|
|||
*/
|
||||
function getDocumentTrash($trash_srl)
|
||||
{
|
||||
$args = new stdClass();
|
||||
$args->trash_srl = $trash_srl;
|
||||
$output = executeQuery('document.getTrash', $args);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue