minor fix in type check
This commit is contained in:
parent
3616d6e871
commit
d6cb1bc207
|
@ -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)',
|
||||
|
|
Loading…
Reference in New Issue