Fix duplicate counting error

This commit is contained in:
Kijin Sung 2016-05-14 16:15:24 +09:00
parent 4224b6fbb0
commit 5246d09209

View file

@ -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;