We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | // check if tx_dlf_metadata.xpath exists anyhow |
65 | 65 | $fieldsInDatabase = $GLOBALS['TYPO3_DB']->admin_get_fields('tx_dlf_metadata'); |
66 | 66 | |
67 | - if (! in_array('xpath', array_keys($fieldsInDatabase))) { |
|
67 | + if (!in_array('xpath', array_keys($fieldsInDatabase))) { |
|
68 | 68 | |
69 | 69 | return $uids; |
70 | 70 | |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | |
142 | 142 | while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) { |
143 | 143 | |
144 | - if($resArray['column_name'] == 'tokenized' |
|
144 | + if ($resArray['column_name'] == 'tokenized' |
|
145 | 145 | || $resArray['column_name'] == 'stored' |
146 | 146 | || $resArray['column_name'] == 'indexed' |
147 | 147 | || $resArray['column_name'] == 'boost' |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | // Copy the content of the old tables to the new ones |
174 | 174 | $result = $GLOBALS['TYPO3_DB']->sql_query($sqlQuery); |
175 | 175 | |
176 | - if($result) { |
|
176 | + if ($result) { |
|
177 | 177 | |
178 | 178 | $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( |
179 | 179 | 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | $this->list->save(); |
163 | 163 | |
164 | 164 | // Save document to database and index. |
165 | - $doc =& tx_dlf_document::getInstance($uid, 0, TRUE); |
|
165 | + $doc = & tx_dlf_document::getInstance($uid, 0, TRUE); |
|
166 | 166 | |
167 | 167 | if ($doc->ready) { |
168 | 168 | |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | if (!empty($this->data['id']) && isset($this->data['core'])) { |
219 | 219 | |
220 | 220 | // Save document to database and index. |
221 | - $doc =& tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE); |
|
221 | + $doc = & tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE); |
|
222 | 222 | |
223 | 223 | if ($doc->ready) { |
224 | 224 |
@@ -955,7 +955,7 @@ discard block |
||
955 | 955 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
956 | 956 | 'tx_dlf_documents.tstamp AS tstamp', |
957 | 957 | 'tx_dlf_documents', |
958 | - 'tx_dlf_documents.pid=' . intval($this->conf['pages']), |
|
958 | + 'tx_dlf_documents.pid='.intval($this->conf['pages']), |
|
959 | 959 | '', |
960 | 960 | 'tx_dlf_documents.tstamp ASC', |
961 | 961 | '1' |
@@ -970,8 +970,8 @@ discard block |
||
970 | 970 | |
971 | 971 | if (TYPO3_DLOG) { |
972 | 972 | |
973 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_oai->verbIdentify()] No records found with PID "' . |
|
974 | - $this->conf['pages'] . '"', $this->extKey, SYSLOG_SEVERITY_NOTICE); |
|
973 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_oai->verbIdentify()] No records found with PID "'. |
|
974 | + $this->conf['pages'].'"', $this->extKey, SYSLOG_SEVERITY_NOTICE); |
|
975 | 975 | |
976 | 976 | } |
977 | 977 |
@@ -51,9 +51,9 @@ discard block |
||
51 | 51 | |
52 | 52 | // Set default values if not set. |
53 | 53 | // $this->piVars['page'] may be integer or string (physical structure @ID) |
54 | - if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
54 | + if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
55 | 55 | |
56 | - $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1); |
|
56 | + $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1); |
|
57 | 57 | |
58 | 58 | } else { |
59 | 59 | |
@@ -118,9 +118,9 @@ discard block |
||
118 | 118 | } |
119 | 119 | |
120 | 120 | if (TYPO3_DLOG && empty($page1Link) && empty($page2Link)) { |
121 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_toolsPdf->getPageLink()] ' . |
|
122 | - 'File not found in fileGrp "' . |
|
123 | - $this->conf['fileGrpDownload'] . '"', |
|
121 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_toolsPdf->getPageLink()] '. |
|
122 | + 'File not found in fileGrp "'. |
|
123 | + $this->conf['fileGrpDownload'].'"', |
|
124 | 124 | $this->extKey, |
125 | 125 | SYSLOG_SEVERITY_WARNING); |
126 | 126 | } |
@@ -129,18 +129,18 @@ discard block |
||
129 | 129 | if (!empty($page1Link)) { |
130 | 130 | if ($this->piVars['double']) { |
131 | 131 | $page1Link = $this->cObj->typoLink($this->pi_getLL('leftPage', ''), |
132 | - array('parameter' => $page1Link, 'title' => $this->pi_getLL('leftPage', ''))); |
|
132 | + array ('parameter' => $page1Link, 'title' => $this->pi_getLL('leftPage', ''))); |
|
133 | 133 | } else { |
134 | 134 | $page1Link = $this->cObj->typoLink($this->pi_getLL('singlePage', ''), |
135 | - array('parameter' => $page1Link, 'title' => $this->pi_getLL('singlePage', ''))); |
|
135 | + array ('parameter' => $page1Link, 'title' => $this->pi_getLL('singlePage', ''))); |
|
136 | 136 | } |
137 | 137 | } |
138 | 138 | if (!empty($page2Link)) { |
139 | 139 | $page2Link = $this->cObj->typoLink($this->pi_getLL('rightPage', ''), |
140 | - array('parameter' => $page2Link, 'title' => $this->pi_getLL('rightPage', ''))); |
|
140 | + array ('parameter' => $page2Link, 'title' => $this->pi_getLL('rightPage', ''))); |
|
141 | 141 | } |
142 | 142 | |
143 | - return $page1Link . $page2Link; |
|
143 | + return $page1Link.$page2Link; |
|
144 | 144 | } |
145 | 145 | |
146 | 146 | /** |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | |
51 | 51 | // Set default values if not set. |
52 | 52 | // $this->piVars['page'] may be integer or string (physical structure @ID) |
53 | - if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
53 | + if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
54 | 54 | |
55 | - $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1); |
|
55 | + $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1); |
|
56 | 56 | |
57 | 57 | } else { |
58 | 58 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | // Get left or single page download. |
79 | - $markerArray['###IMAGE_LEFT###'] = $this->piVars['double'] == 1 ? $this->getImage($this->piVars['page'], $this->pi_getLL('leftPage', '')) : $this->getImage($this->piVars['page'], $this->pi_getLL('singlePage', '')); |
|
79 | + $markerArray['###IMAGE_LEFT###'] = $this->piVars['double'] == 1 ? $this->getImage($this->piVars['page'], $this->pi_getLL('leftPage', '')) : $this->getImage($this->piVars['page'], $this->pi_getLL('singlePage', '')); |
|
80 | 80 | |
81 | 81 | // Get right page download. |
82 | 82 | $markerArray['###IMAGE_RIGHT###'] = $this->piVars['double'] == 1 ? $this->getImage($this->piVars['page'] + 1, $this->pi_getLL('rightPage', '')) : ''; |
@@ -123,11 +123,11 @@ discard block |
||
123 | 123 | } |
124 | 124 | $linkConf = array ( |
125 | 125 | 'parameter' => $image['url'], |
126 | - 'title' => $label . ' ' . $mimetypeLabel, |
|
126 | + 'title' => $label.' '.$mimetypeLabel, |
|
127 | 127 | 'additionalParams' => '', |
128 | 128 | ); |
129 | 129 | |
130 | - $imageLink = $this->cObj->typoLink($label . ' ' . $mimetypeLabel, $linkConf); |
|
130 | + $imageLink = $this->cObj->typoLink($label.' '.$mimetypeLabel, $linkConf); |
|
131 | 131 | |
132 | 132 | break; |
133 | 133 |
@@ -130,22 +130,22 @@ discard block |
||
130 | 130 | '###DAYFRI_NAME###' => strftime('%a', strtotime('last Friday')), |
131 | 131 | '###DAYSAT_NAME###' => strftime('%a', strtotime('last Saturday')), |
132 | 132 | '###DAYSUN_NAME###' => strftime('%a', strtotime('last Sunday')), |
133 | - '###MONTHNAME###' => strftime('%B', strtotime($year . '-' . ($i + 1) . '-1')) |
|
133 | + '###MONTHNAME###' => strftime('%B', strtotime($year.'-'.($i + 1).'-1')) |
|
134 | 134 | ); |
135 | 135 | |
136 | 136 | // Reset week content of new month. |
137 | 137 | $subWeekPartContent = ''; |
138 | 138 | |
139 | - $firstOfMonth = strtotime($year . '-' . ($i + 1) . '-1'); |
|
139 | + $firstOfMonth = strtotime($year.'-'.($i + 1).'-1'); |
|
140 | 140 | $lastOfMonth = strtotime('last day of', ($firstOfMonth)); |
141 | 141 | $firstOfMonthStart = strtotime('last Monday', $firstOfMonth); |
142 | 142 | |
143 | 143 | // There are never more than 6 weeks in a month. |
144 | 144 | for ($j = 0; $j <= 5; $j++) { |
145 | 145 | |
146 | - $firstDayOfWeek = strtotime('+ ' . $j . ' Week', $firstOfMonthStart); |
|
146 | + $firstDayOfWeek = strtotime('+ '.$j.' Week', $firstOfMonthStart); |
|
147 | 147 | |
148 | - $weekArray = array( |
|
148 | + $weekArray = array ( |
|
149 | 149 | '###DAYMON###' => ' ', |
150 | 150 | '###DAYTUE###' => ' ', |
151 | 151 | '###DAYWED###' => ' ', |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | $linkConf = array ( |
186 | 186 | 'useCacheHash' => 1, |
187 | 187 | 'parameter' => $this->conf['targetPid'], |
188 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($issue['uid']), |
|
188 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.urlencode($issue['uid']), |
|
189 | 189 | 'ATagParams' => ' class="title"', |
190 | 190 | ); |
191 | 191 | |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | |
213 | 213 | } |
214 | 214 | |
215 | - $dayLinkDiv = '<div class="issues"><h4>' . strftime('%d', $currentDayTime) . '</h4><div>'.$dayLinksList.'</div></div>'; |
|
215 | + $dayLinkDiv = '<div class="issues"><h4>'.strftime('%d', $currentDayTime).'</h4><div>'.$dayLinksList.'</div></div>'; |
|
216 | 216 | } |
217 | 217 | |
218 | 218 | switch (strftime('%w', strtotime('+ '.$k.' Day', $firstDayOfWeek))) { |
@@ -260,22 +260,22 @@ discard block |
||
260 | 260 | $linkConf = array ( |
261 | 261 | 'useCacheHash' => 1, |
262 | 262 | 'parameter' => $this->conf['targetPid'], |
263 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($this->doc->parentId), |
|
263 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.urlencode($this->doc->parentId), |
|
264 | 264 | ); |
265 | 265 | |
266 | - $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE) . ' ' . $this->doc->getTitle($this->doc->parentId), $linkConf); |
|
266 | + $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE).' '.$this->doc->getTitle($this->doc->parentId), $linkConf); |
|
267 | 267 | |
268 | 268 | // Link to current year. |
269 | 269 | $linkConf = array ( |
270 | 270 | 'useCacheHash' => 1, |
271 | 271 | 'parameter' => $this->conf['targetPid'], |
272 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($this->doc->uid), |
|
272 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.urlencode($this->doc->uid), |
|
273 | 273 | ); |
274 | 274 | |
275 | 275 | $yearLink = $this->cObj->typoLink($year, $linkConf); |
276 | 276 | |
277 | 277 | // Prepare list as alternative of the calendar view. |
278 | - foreach($allIssues as $dayTime => $issues) { |
|
278 | + foreach ($allIssues as $dayTime => $issues) { |
|
279 | 279 | |
280 | 280 | $markerArrayDay['###DATE_STRING###'] = strftime('%A, %x', $dayTime); |
281 | 281 | |
@@ -385,14 +385,14 @@ discard block |
||
385 | 385 | |
386 | 386 | foreach ($years as $id => $year) { |
387 | 387 | |
388 | - $linkConf = array( |
|
388 | + $linkConf = array ( |
|
389 | 389 | 'useCacheHash' => 1, |
390 | 390 | 'parameter' => $this->conf['targetPid'], |
391 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($year['uid']), |
|
392 | - 'title' => $titleAnchor . ': ' . $year['title'] |
|
391 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.urlencode($year['uid']), |
|
392 | + 'title' => $titleAnchor.': '.$year['title'] |
|
393 | 393 | ); |
394 | 394 | |
395 | - $yearArray = array( |
|
395 | + $yearArray = array ( |
|
396 | 396 | '###YEARNAME###' => $this->cObj->typoLink($year['title'], $linkConf), |
397 | 397 | ); |
398 | 398 | |
@@ -405,9 +405,9 @@ discard block |
||
405 | 405 | $linkConf = array ( |
406 | 406 | 'useCacheHash' => 1, |
407 | 407 | 'parameter' => $this->conf['targetPid'], |
408 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . $this->doc->uid, |
|
408 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.$this->doc->uid, |
|
409 | 409 | ); |
410 | - $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE) . ' ' .$this->doc->getTitle($this->doc->uid), $linkConf); |
|
410 | + $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE).' '.$this->doc->getTitle($this->doc->uid), $linkConf); |
|
411 | 411 | |
412 | 412 | // Fill markers. |
413 | 413 | $markerArray = array ( |
@@ -210,13 +210,13 @@ discard block |
||
210 | 210 | |
211 | 211 | if ($GLOBALS['TYPO3_DB']->sql_num_rows($resultMail) > 0) { |
212 | 212 | |
213 | - $mails = array(); |
|
213 | + $mails = array (); |
|
214 | 214 | |
215 | 215 | $mailForm = '<select name="tx_dlf[mail_action]">'; |
216 | 216 | |
217 | 217 | $mailForm .= '<option value="">'.$this->pi_getLL('chooseMail', '', TRUE).'</option>'; |
218 | 218 | |
219 | - while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($resultMail)){ |
|
219 | + while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($resultMail)) { |
|
220 | 220 | |
221 | 221 | $mails[] = $row; |
222 | 222 | |
@@ -255,13 +255,13 @@ discard block |
||
255 | 255 | |
256 | 256 | if ($GLOBALS['TYPO3_DB']->sql_num_rows($resultPrinter) > 0) { |
257 | 257 | |
258 | - $printers = array(); |
|
258 | + $printers = array (); |
|
259 | 259 | |
260 | 260 | $printForm = '<select name="tx_dlf[print_action]">'; |
261 | 261 | |
262 | 262 | $printForm .= '<option value="">'.$this->pi_getLL('choosePrinter', '', TRUE).'</option>'; |
263 | 263 | |
264 | - while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($resultPrinter)){ |
|
264 | + while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($resultPrinter)) { |
|
265 | 265 | |
266 | 266 | $printers[] = $row; |
267 | 267 | |
@@ -414,7 +414,7 @@ discard block |
||
414 | 414 | |
415 | 415 | if ($page != null || $_piVars['addToBasket'] == 'list') { |
416 | 416 | |
417 | - $documentItem = array( |
|
417 | + $documentItem = array ( |
|
418 | 418 | 'id' => intval($_piVars['id']), |
419 | 419 | 'startpage' => intval($_piVars['startpage']), |
420 | 420 | 'endpage' => intval($_piVars['endpage']), |
@@ -434,12 +434,12 @@ discard block |
||
434 | 434 | |
435 | 435 | } else { |
436 | 436 | |
437 | - $items = array(); |
|
437 | + $items = array (); |
|
438 | 438 | |
439 | 439 | } |
440 | 440 | |
441 | 441 | // get document instance to load further information |
442 | - $document = tx_dlf_document::getInstance($documentItem['id'],0); |
|
442 | + $document = tx_dlf_document::getInstance($documentItem['id'], 0); |
|
443 | 443 | |
444 | 444 | // set endpage for toc and subentry based on logid |
445 | 445 | if (($_piVars['addToBasket'] == 'subentry') OR ($_piVars['addToBasket'] == 'toc')) { |
@@ -523,7 +523,7 @@ discard block |
||
523 | 523 | |
524 | 524 | } |
525 | 525 | |
526 | - $update = array('doc_ids' => json_encode($items)); |
|
526 | + $update = array ('doc_ids' => json_encode($items)); |
|
527 | 527 | |
528 | 528 | $GLOBALS['TYPO3_DB']->exec_UPDATEquery('tx_dlf_basket', 'uid='.intval($basketData['uid']), $update); |
529 | 529 | |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | |
532 | 532 | } |
533 | 533 | |
534 | - return array('basketData' => $basketData, 'jsOutput' => $output); |
|
534 | + return array ('basketData' => $basketData, 'jsOutput' => $output); |
|
535 | 535 | |
536 | 536 | } |
537 | 537 | |
@@ -581,11 +581,11 @@ discard block |
||
581 | 581 | |
582 | 582 | if (empty($items)) { |
583 | 583 | |
584 | - $update = array('doc_ids' => ''); |
|
584 | + $update = array ('doc_ids' => ''); |
|
585 | 585 | |
586 | 586 | } else { |
587 | 587 | |
588 | - $update = array('doc_ids' => json_encode($items)); |
|
588 | + $update = array ('doc_ids' => json_encode($items)); |
|
589 | 589 | |
590 | 590 | } |
591 | 591 | |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | public function getDocumentData($id, $data) { |
640 | 640 | |
641 | 641 | // get document instance to load further information |
642 | - $document = tx_dlf_document::getInstance($id,0); |
|
642 | + $document = tx_dlf_document::getInstance($id, 0); |
|
643 | 643 | |
644 | 644 | if ($document) { |
645 | 645 | |
@@ -714,7 +714,7 @@ discard block |
||
714 | 714 | |
715 | 715 | } |
716 | 716 | |
717 | - return array( |
|
717 | + return array ( |
|
718 | 718 | 'downloadUrl' => $downloadUrl, |
719 | 719 | 'downloadLink' => $downloadLink, |
720 | 720 | 'pageNums' => $pageNums, |
@@ -800,7 +800,7 @@ discard block |
||
800 | 800 | ->setFrom($from) |
801 | 801 | |
802 | 802 | // Set the To addresses with an associative array |
803 | - ->setTo(array($mailData['mail'] => $mailData['name'])) |
|
803 | + ->setTo(array ($mailData['mail'] => $mailData['name'])) |
|
804 | 804 | |
805 | 805 | ->setBody($body, 'text/html') |
806 | 806 | |
@@ -808,7 +808,7 @@ discard block |
||
808 | 808 | ; |
809 | 809 | |
810 | 810 | // protocol |
811 | - $insertArray = array( |
|
811 | + $insertArray = array ( |
|
812 | 812 | 'pid' => $this->conf['pages'], |
813 | 813 | 'file_name' => $pdfUrl, |
814 | 814 | 'count_pages' => $numberOfPages, |
@@ -908,7 +908,7 @@ discard block |
||
908 | 908 | } |
909 | 909 | |
910 | 910 | // protocol |
911 | - $insertArray = array( |
|
911 | + $insertArray = array ( |
|
912 | 912 | 'pid' => $this->conf['pages'], |
913 | 913 | 'file_name' => $pdfUrl, |
914 | 914 | 'count_pages' => $numberOfPages, |
@@ -213,7 +213,7 @@ |
||
213 | 213 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
214 | 214 | 'tx_dlf_metadata.index_name AS index_name,tx_dlf_metadata.is_listed AS is_listed,tx_dlf_metadata.wrap AS wrap', |
215 | 215 | 'tx_dlf_metadata', |
216 | - 'tx_dlf_metadata.pid='.intval($this->conf['pages']).tx_dlf_helper::whereClause('tx_dlf_metadata').' AND (sys_language_uid IN (-1,0) OR (sys_language_uid = ' .$GLOBALS['TSFE']->sys_language_uid. ' AND l18n_parent = 0))', |
|
216 | + 'tx_dlf_metadata.pid='.intval($this->conf['pages']).tx_dlf_helper::whereClause('tx_dlf_metadata').' AND (sys_language_uid IN (-1,0) OR (sys_language_uid = '.$GLOBALS['TSFE']->sys_language_uid.' AND l18n_parent = 0))', |
|
217 | 217 | '', |
218 | 218 | 'tx_dlf_metadata.sorting', |
219 | 219 | '' |
@@ -222,9 +222,9 @@ |
||
222 | 222 | |
223 | 223 | // Set default values for page if not set. |
224 | 224 | // $this->piVars['page'] may be integer or string (physical structure @ID) |
225 | - if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
225 | + if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
226 | 226 | |
227 | - $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1); |
|
227 | + $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1); |
|
228 | 228 | |
229 | 229 | } else { |
230 | 230 |