X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Lock.php;h=3f1494b63206c86fee6e82152e370f680097b763;hb=dff7116c31985c523f927df3e8e7cf50670ef428;hp=b0e7ea9a2c05f14b13dd6e4ca26feb2eb1ed77be;hpb=ec349e025948e9a82128141215c1de271afbc28b;p=Pman.Core diff --git a/Lock.php b/Lock.php index b0e7ea9a..3f1494b6 100644 --- a/Lock.php +++ b/Lock.php @@ -77,7 +77,7 @@ class Pman_Core_Lock extends Pman $this->jok("No lock exists"); // been deleted before.. probably ok.. } - if ($curlock->person_id != $this->authUser->id) { + if ($curlock->person_id != $this->authUser->id && empty($_REQUEST['force'])) { // this is an error conditon.. $this->jerr("Lock id is invalid"); }