mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fixing BOOK_DESCRIPTION sc not returning proper value on Chapters list due missing field in the db query
This commit is contained in:
2
page.php
2
page.php
@@ -300,7 +300,7 @@ class pageClass
|
|||||||
$frm = e107::getForm();
|
$frm = e107::getForm();
|
||||||
|
|
||||||
// retrieve book information.
|
// retrieve book information.
|
||||||
if(!$brow = $sql->retrieve('page_chapters','chapter_name,chapter_template','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_id = '.intval($book).' AND chapter_visibility IN ('.USERCLASS_LIST.') LIMIT 1'))
|
||||||
{
|
{
|
||||||
$layout = 'default';
|
$layout = 'default';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user