diff --git a/phpmyfaq/show.php b/phpmyfaq/show.php index 43d4d55c2e..62f6c86813 100644 --- a/phpmyfaq/show.php +++ b/phpmyfaq/show.php @@ -115,7 +115,7 @@ [ 'categoryHeader' => Translation::get('msgEntriesIn') . Strings::htmlentities($categoryData->getName()), 'categoryFaqsHeader' => $categoryData->getName(), - 'categoryDescription' => Strings::htmlentities($categoryData->getDescription()), + 'categoryDescription' => Strings::htmlentities($categoryData->getDescription() ?? ''), 'categorySubsHeader' => Translation::get('msgSubCategories'), 'categoryContent' => $records, 'subCategoryContent' => $subCategoryContent,