mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +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
|
|
@ -240,6 +240,7 @@ class ttimport
|
|||
|
||||
if($module_name == 'textyle')
|
||||
{
|
||||
$args = new stdClass();
|
||||
$args->document_srl = $obj->document_srl;
|
||||
$args->module_srl = $obj->module_srl;
|
||||
$args->logs = serialize(null);
|
||||
|
|
@ -674,6 +675,7 @@ class ttimport
|
|||
else
|
||||
{
|
||||
// Get parent_srl
|
||||
$parent_args = new stdClass();
|
||||
$parent_args->comment_srl = $tobj->parent_srl;
|
||||
$parent_output = executeQuery('comment.getCommentListItem', $parent_args);
|
||||
// Return if parent comment doesn't exist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue