1
0
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:
alopexc0de 2014-08-10 18:44:40 -04:00
parent 4ad0f8ce74
commit 41a6684ccc
No known key found for this signature in database
GPG Key ID: 48E847F18074C953

View File

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