From 6f51d0da87a1eef8f9397d93e9ab54af2c9c5ac0 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Fri, 6 Jan 2023 18:37:09 +0900 Subject: [PATCH] Fix deprecation warning in PHP 8 --- modules/counter/counter.model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/counter/counter.model.php b/modules/counter/counter.model.php index d01054e6e..cab0307b8 100644 --- a/modules/counter/counter.model.php +++ b/modules/counter/counter.model.php @@ -89,7 +89,7 @@ class counterModel extends counter * @param integer $site_srl unused * @return Object */ - public static function getHourlyStatus($type = 'hour', $selected_date, $site_srl = 0, $isPageView = false) + public static function getHourlyStatus($type = 'hour', $selected_date = 'now', $site_srl = 0, $isPageView = false) { $max = 0; $sum = 0;