Skip to content
Snippets Groups Projects
Commit 159793f9 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Merge pull request #1418 from JustinTrouble/master

Fixed bug in obtainLock(), where it always fails to verify the lock. …
parents b8f2f108 cb62a664
No related branches found
No related tags found
No related merge requests found
......@@ -248,7 +248,7 @@ class PageCLI extends DokuCLI {
lock($wiki_id);
if(checklock($wiki_id) != $this->username) {
if(checklock($wiki_id)) {
$this->error("Unable to obtain lock for $wiki_id ");
var_dump(checklock($wiki_id));
exit(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment