From 5246d09209a52dcc0f9571674a8666d3feef0c1e Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sat, 14 May 2016 16:15:24 +0900 Subject: [PATCH] Fix duplicate counting error --- 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 961201c12..42b59657f 100644 --- a/modules/counter/counter.model.php +++ b/modules/counter/counter.model.php @@ -35,7 +35,7 @@ class counterModel extends counter $group_key = 'counterIpLogged_' . $args->regdate; $iplogged = Rhymix\Framework\Cache::get($group_key . ':' . $cache_key); - if($iplogged === false) + if(!$iplogged) { $output = executeQuery('counter.getCounterLog', $args); if($output->data->count) $iplogged = TRUE;