mirror of
https://github.com/e107inc/e107.git
synced 2025-04-15 10:02:02 +02:00
Fixes #3917 - Add missing chapter meta keywords (pages/menus)
This commit is contained in:
parent
f4836ae185
commit
b45b25bad1
4
page.php
4
page.php
@ -303,7 +303,7 @@ class pageClass
|
||||
$frm = e107::getForm();
|
||||
|
||||
// retrieve book information.
|
||||
if(!$brow = $sql->retrieve('page_chapters','chapter_name,chapter_template,chapter_meta_description','chapter_id = '.intval($book).' AND chapter_visibility IN ('.USERCLASS_LIST.') LIMIT 1'))
|
||||
if(!$brow = $sql->retrieve('page_chapters','chapter_name,chapter_template,chapter_meta_description,chapter_meta_keywords','chapter_id = '.intval($book).' AND chapter_visibility IN ('.USERCLASS_LIST.') LIMIT 1'))
|
||||
{
|
||||
$layout = 'default';
|
||||
}
|
||||
@ -423,7 +423,7 @@ class pageClass
|
||||
$frm = e107::getForm();
|
||||
|
||||
// retrieve the template to use for this chapter.
|
||||
$row = $sql->retrieve('page_chapters','chapter_id,chapter_icon,chapter_name,chapter_parent, chapter_image, chapter_meta_description,chapter_template','chapter_id = '.intval($chapt).' LIMIT 1');
|
||||
$row = $sql->retrieve('page_chapters','chapter_id,chapter_icon,chapter_name,chapter_parent, chapter_image, chapter_meta_description,chapter_meta_keywords,chapter_template','chapter_id = '.intval($chapt).' LIMIT 1');
|
||||
|
||||
if($this->displayAllMode === true)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user