mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-01 17:42:11 +09:00
Fix reference to potentially undefined config variable
This commit is contained in:
parent
6386ddfe27
commit
2392b923b0
1 changed files with 1 additions and 1 deletions
|
|
@ -913,7 +913,7 @@ class BoardView extends Board
|
|||
$point_config = ModuleModel::getModulePartConfig('point',$this->module_srl);
|
||||
if ($point_config)
|
||||
{
|
||||
$pointForInsert = intval(is_object($point_config) ? $point_config->insert_document : $point_config["insert_document"]);
|
||||
$pointForInsert = intval(is_object($point_config) ? ($point_config->insert_document ?? 0) : ($point_config["insert_document"] ?? 0));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue