Skip to content

Commit

Permalink
one more minutes vs. hours
Browse files Browse the repository at this point in the history
  • Loading branch information
trob authored Jul 28, 2018
1 parent 4f7365c commit 0d1ac24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fabrik_element/lockrow/lockrow.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function isLocked($value)
}
$params = $this->getParams();
$ttl = (int) $params->get('lockrow_ttl', '24');
$ttl_time = (int) $time + ($ttl * 60 * 60);
$ttl_time = (int) $time + ($ttl * 60);
$time_now = time();
if ($time_now < $ttl_time)
{
Expand Down

0 comments on commit 0d1ac24

Please sign in to comment.