Fix issue with Database Lock.
This commit is contained in:
parent
c8df0dec0c
commit
695f457a09
|
@ -2313,7 +2313,13 @@ function db_get_lock(string $lockname, int $expiration_time=86400) :?int
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($lock_status === false) {
|
if ($lock_status === false) {
|
||||||
return null;
|
db_pandora_audit(
|
||||||
|
AUDIT_LOG_SYSTEM,
|
||||||
|
'Issue in Database Lock',
|
||||||
|
'system'
|
||||||
|
);
|
||||||
|
|
||||||
|
return (int) null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (int) $lock_status;
|
return (int) $lock_status;
|
||||||
|
|
Loading…
Reference in New Issue