Skip to content

Commit 0ef9f3e

Browse files
committed
fix: corrected boolean flag
1 parent 5c64dab commit 0ef9f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpmyfaq/src/phpMyFAQ/Controller/Api/OpenQuestionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function __construct()
7171
public function list(): JsonResponse
7272
{
7373
$question = new Question($this->configuration);
74-
$result = $question->getAll();
74+
$result = $question->getAll(false);
7575

7676
if ((is_countable($result) ? count($result) : 0) === 0) {
7777
return $this->json([], Response::HTTP_NOT_FOUND);

0 commit comments

Comments
 (0)