Merge pull request #3978 from dregad/undefined-array-key
Fix undefined array key warning
This commit is contained in:
commit
085622b5ac
|
@ -937,7 +937,7 @@ function checklock($id)
|
|||
}
|
||||
|
||||
//my own lock
|
||||
@[$ip, $session] = explode("\n", io_readFile($lock));
|
||||
[$ip, $session] = sexplode("\n", io_readFile($lock), 2);
|
||||
if ($ip == $INPUT->server->str('REMOTE_USER') || (session_id() && $session === session_id())) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue