Commit da99f974 authored by Marcelo Rivera's avatar Marcelo Rivera

(fix): check $data[0] vs $next

1 merge request!235WIP: Boost Campaigns (&24)
Pipeline #71749655 passed with stages
in 7 minutes and 33 seconds
......@@ -112,7 +112,7 @@ class campaigns implements Interfaces\Api
}
$ttl = 1800; // 30 minutes
if (($data / 1000) < strtotime('48 hours ago')) {
if (($data[0] / 1000) < strtotime('48 hours ago')) {
$ttl = 300; // 5 minutes;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment