Fix various warnings in PHP 8.0

This commit is contained in:
Kijin Sung 2021-01-08 00:27:00 +09:00
parent db6f44a913
commit 4dcdb9e4bd
5 changed files with 10 additions and 5 deletions

View file

@ -30,6 +30,11 @@ class documentItem extends BaseObject
* @var bool
*/
var $allow_trackback_status = null;
/**
* Comment page navigation
* @var object
*/
var $comment_page_navigation = null;
/**
* column list
* @var array
@ -1459,7 +1464,7 @@ class documentItem extends BaseObject
if(!isset($GLOBALS['__member_signature_max_height']))
{
$member_config = ModuleModel::getModuleConfig('member');
$GLOBALS['__member_signature_max_height'] = $member_config->signature_max_height;
$GLOBALS['__member_signature_max_height'] = $member_config->signature_max_height ?? 100;
}
if($signature)
{