From 4f41362efe4dbb0508391ddaee17de1a4d46932d Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Tue, 27 Apr 2021 20:53:30 +0900 Subject: [PATCH] Fix warning in PHP 8.0 --- modules/ncenterlite/ncenterlite.model.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ncenterlite/ncenterlite.model.php b/modules/ncenterlite/ncenterlite.model.php index a32573d2a..0f27eeffc 100644 --- a/modules/ncenterlite/ncenterlite.model.php +++ b/modules/ncenterlite/ncenterlite.model.php @@ -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; }