minor fix in type check

This commit is contained in:
fbsanchez 2019-06-24 10:13:47 +02:00
parent 3616d6e871
commit d6cb1bc207
1 changed files with 1 additions and 1 deletions

View File

@ -2044,7 +2044,7 @@ function db_get_lock($lockname, $expiration_time=86400)
)
);
if ($lock_status === 1) {
if ($lock_status == 1) {
$lock_status = db_get_value_sql(
sprintf(
'SELECT GET_LOCK("%s", %d)',