Skip to content

Commit 10fdd2c

Browse files
committed
fix error on detail page
1 parent 6a9bf92 commit 10fdd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/lib/page/FaqQuestionListPage.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function readParameters()
4545
EOT
4646
);
4747

48-
$this->category = FaqCategory::getCategory($queryParameters['id']);
48+
$this->category = FaqCategory::getCategory((int)$queryParameters['id']);
4949
} catch (MappingError) {
5050
throw new IllegalLinkException();
5151
}

0 commit comments

Comments
 (0)