diff --git a/Classes/Controller/UriController.php b/Classes/Controller/UriController.php index 7da95294..3583e3dd 100644 --- a/Classes/Controller/UriController.php +++ b/Classes/Controller/UriController.php @@ -52,11 +52,10 @@ public function mainAction() if ($this->isDocMissingOrEmpty()) { // Quit without doing anything if required variables are not set. return; - } else { - $this->setPage(); - $this->requestData['double'] = MathUtility::forceIntegerInRange($this->requestData['double'], 0, 1, 0); } + $this->setPage(); + $doc = $this->document->getCurrentDocument(); // Get persistent identifier of book.