mirror of
https://github.com/gamaio/lobli.git
synced 2024-12-22 19:52:40 +00:00
Add missing parenthesis that I forgot.
Whoops. PHP errors, yay.
This commit is contained in:
parent
4ad0f8ce74
commit
41a6684ccc
@ -52,7 +52,7 @@
|
|||||||
foreach($stats as $id){ // There should only be 5, but the page doesn't limit how many
|
foreach($stats as $id){ // There should only be 5, but the page doesn't limit how many
|
||||||
$trTtl = $redis->ttl("links:$id");
|
$trTtl = $redis->ttl("links:$id");
|
||||||
if($trTtl == -2){ // The link has been deleted, no need to track it anymore
|
if($trTtl == -2){ // The link has been deleted, no need to track it anymore
|
||||||
$redis->zRem("tracking:clicks", $id;
|
$redis->zRem("tracking:clicks", $id);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user