mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
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(
|
$lock_status = db_get_value_sql(
|
||||||
sprintf(
|
sprintf(
|
||||||
'SELECT GET_LOCK("%s", %d)',
|
'SELECT GET_LOCK("%s", %d)',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user