1
0
Fork 0

Fix strict comparison of the content hash

pull/4140/head
Zsolt Szeberenyi 2015-08-21 16:55:44 +12:00
parent bfb83f1fb7
commit 62630e5c69
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class Locker
if (!empty($lock['content-hash'])) {
// There is a content hash key, use that instead of the file hash
return $this->contentHash == $lock['content-hash'];
return $this->contentHash === $lock['content-hash'];
}
return $this->hash === $lock['hash'];