Skip to content

Commit

Permalink
Merge pull request #10 from djschilling/fix-php-old
Browse files Browse the repository at this point in the history
Fix php old
  • Loading branch information
voku committed Dec 22, 2017
2 parents 2617e01 + 9a2c758 commit 0b0338e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/voku/helper/Session2DB.php
Expand Up @@ -406,8 +406,7 @@ private function _get_lock_mysql_fake($look_name, $lock_time)
WHERE lock_hash = '" . $this->db->escape($look_name) . "'
LIMIT 1
";
$db_result = $this->db->query($query_lock);
$old_lock_timeout = $db_result->fetchColumn('lock_time');
$old_lock_timeout = $this->db->fetchColumn($query_lock, 'lock_time');

if (!$old_lock_timeout) {
$query_lock = '
Expand Down

0 comments on commit 0b0338e

Please sign in to comment.