mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
Fix duplicate counting error
This commit is contained in:
parent
4224b6fbb0
commit
5246d09209
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class counterModel extends counter
|
||||||
$group_key = 'counterIpLogged_' . $args->regdate;
|
$group_key = 'counterIpLogged_' . $args->regdate;
|
||||||
$iplogged = Rhymix\Framework\Cache::get($group_key . ':' . $cache_key);
|
$iplogged = Rhymix\Framework\Cache::get($group_key . ':' . $cache_key);
|
||||||
|
|
||||||
if($iplogged === false)
|
if(!$iplogged)
|
||||||
{
|
{
|
||||||
$output = executeQuery('counter.getCounterLog', $args);
|
$output = executeQuery('counter.getCounterLog', $args);
|
||||||
if($output->data->count) $iplogged = TRUE;
|
if($output->data->count) $iplogged = TRUE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue