Skip to content

Commit

Permalink
Fix Phan error on release branch (#6670)
Browse files Browse the repository at this point in the history
Fixes travis, broken by #6644
  • Loading branch information
driusan authored Jun 4, 2020
1 parent 7536c3a commit 47f57e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion htdocs/survey.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ function initialize()
$this->tpl_data = array(
'nextpage' => $this->NextPageNum,
'prevpage' => $this->PrevPageNum,
'pageNum' => $pageNum && is_numeric($pageNum) ? $pageNum + 1 : 1,
'pageNum' =>
$pageNum && is_numeric($pageNum) ?
intval($pageNum) + 1 : 1,
'totalPages' => $totalPages,
'key' => $this->key,
'study_title' => $config->getSetting('title'),
Expand Down

0 comments on commit 47f57e2

Please sign in to comment.