From dff594e3dba9b04a8d2ba6fa4667afcc94bfe796 Mon Sep 17 00:00:00 2001 From: Frank Ulrich Weber Date: Wed, 20 Dec 2017 15:17:18 +0100 Subject: [PATCH] Fixes a typo found by scrutinizer (lastPhysicalPageSearch instead of lastSearchedPhysicalPage) --- dlf/common/class.tx_dlf_document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlf/common/class.tx_dlf_document.php b/dlf/common/class.tx_dlf_document.php index 2767b376a..7606d7ca6 100644 --- a/dlf/common/class.tx_dlf_document.php +++ b/dlf/common/class.tx_dlf_document.php @@ -917,7 +917,7 @@ public function getMetadata($id, $cPid = 0) { */ public function getPhysicalPage($logicalPage) { - if(!empty( $this->lastSearchedPhysicalPage['logicalPage']) && $this->lastPhysicalPageSearch['logicalPage'] == $logicalPage) { + if(!empty( $this->lastSearchedPhysicalPage['logicalPage']) && $this->lastSearchedPhysicalPage['logicalPage'] == $logicalPage) { return $this->lastSearchedPhysicalPage['physicalPage'];