From bab1820045af5c7ecf91f7cd214e12d96a1044d9 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 7 Dec 2006 00:09:05 +1300 Subject: [PATCH] Fix typo. --- inc/CalDAVRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index caca0a4b..eef333f4 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -289,7 +289,7 @@ class CalDAVRequest function FailIfLocked() { if ( $existing_lock = $this->IsLocked() ) { // NOTE Assignment in if() is expected here. dbg_error_log( "caldav", "There is a lock on '%s'", $this->path); - if ( ! $request->ValidateLockToken($existing_lock) ) { + if ( ! $this->ValidateLockToken($existing_lock) ) { $lock_row = $this->GetLockRow($existing_lock); /** * Already locked - deny it