Skip to content

Commit

Permalink
Merge pull request #312 from beatrycze-volk/remove-duplicate
Browse files Browse the repository at this point in the history
[MAINTENANCE] Remove duplicated assignment of double page
  • Loading branch information
beatrycze-volk authored Sep 20, 2024
2 parents d6aa7af + 41efa5c commit e9a704a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Classes/Controller/UriController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e9a704a

Please sign in to comment.