mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
Fix error in PHP 8.0 when adding empty string to integer
This commit is contained in:
parent
68ef362789
commit
5bc79fc400
1 changed files with 1 additions and 1 deletions
|
|
@ -854,7 +854,7 @@ class boardView extends board
|
||||||
$point_config = ModuleModel::getModulePartConfig('point',$this->module_srl);
|
$point_config = ModuleModel::getModulePartConfig('point',$this->module_srl);
|
||||||
if ($point_config)
|
if ($point_config)
|
||||||
{
|
{
|
||||||
$pointForInsert = is_object($point_config) ? $point_config->insert_document : $point_config["insert_document"];
|
$pointForInsert = intval(is_object($point_config) ? $point_config->insert_document : $point_config["insert_document"]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue