[dokuwiki] New PR: Fixed bug in obtainLock(), where it always fails to verify the lock. …

  • From: "JustinTrouble" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 30 Nov 2015 15:23:56 +0100 (CET)

Hi,

JustinTrouble opened a new pull request at
https://github.com/splitbrain/dokuwiki/pull/1418:

obtainLock() calls checklock() and wrongly compares the return value to
$this->username.
However, checklock() actually returns "false" if it verifies there is a lock
belonging to $this->username.

…This fixes #1019, fixes #1311

Please help us to review this pull request, so new contributors get feedback in
a timely manner.

fc9c4f80-976d-11e5-8e3e-68c473089052


--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: Fixed bug in obtainLock(), where it always fails to verify the lock. … - JustinTrouble