mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix warning error in PHP8.0. Set to return output data in notice list.
This commit is contained in:
parent
c7f84a178d
commit
03aef25eda
1 changed files with 4 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ class documentModel extends document
|
|||
|
||||
if(!$output->toBool() || !$result = $output->data)
|
||||
{
|
||||
return;
|
||||
return $output;
|
||||
}
|
||||
|
||||
$output->data = array();
|
||||
|
|
@ -340,8 +340,11 @@ class documentModel extends document
|
|||
|
||||
$output->data[$attribute->document_srl] = $GLOBALS['XE_DOCUMENT_LIST'][$attribute->document_srl];
|
||||
}
|
||||
|
||||
self::setToAllDocumentExtraVars();
|
||||
|
||||
|
||||
|
||||
// Call trigger (after)
|
||||
// This trigger can be used to modify search results
|
||||
ModuleHandler::triggerCall('document.getNoticeList', 'after', $output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue