mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Fix #1776 properly display title of origin module
This commit is contained in:
parent
d215dd5678
commit
89ef156f8e
2 changed files with 24 additions and 12 deletions
|
|
@ -618,9 +618,10 @@ class boardView extends board
|
|||
}
|
||||
foreach ($document_list as $document)
|
||||
{
|
||||
$module_srl = $document->get('module_srl');
|
||||
$module_srl = $document->get('origin_module_srl') ?: $document->get('module_srl');
|
||||
if ($document->get('mid') === null)
|
||||
{
|
||||
$document->add('module_srl', $this->module_info->module_srl);
|
||||
$document->add('module_title', isset($map[$module_srl]) ? $map[$module_srl]->browser_title : $this->module_info->browser_title);
|
||||
$document->add('mid', isset($map[$module_srl]) ? $map[$module_srl]->mid : $this->module_info->mid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue