Hi All,
Working on 1.5.6 on PHP7.2. I noticed that the category name <h1> is empty. I then noticed that $current_categories_name is never set. At least not that I can find. Doing a print_r on $categories_description_lookup I was expecting to find a $categories_description_lookup->fields['categories_name'], but it doesn't exist. Is there a new admin switch I haven't found to enable category headings?
For now I have added categories_name to the sql on line 328 of includes/modules/pages/index/main_template_vars.php
$sql = "SELECT categories_description, categories_name
FROM " . TABLE_CATEGORIES_DESCRIPTION . "
WHERE categories_id= :categoriesID
AND language_id = :languagesID";
Thank You,
John
Bookmarks