Fix warning in PHP 8.0

This commit is contained in:
Kijin Sung 2021-04-27 20:53:30 +09:00
parent 7af083c6c9
commit 4f41362efe

View file

@ -79,8 +79,7 @@ class ncenterliteModel extends ncenterlite
{
$config->highlight_effect = 'Y';
}
if(!$config->notify_count)
if(!isset($config->notify_count) || !$config->notify_count)
{
$config->notify_count = 5;
}