mirror of
https://github.com/e107inc/e107.git
synced 2025-05-10 06:06:21 +02:00
Merge pull request #1310 from Serios/patch-1
BOOK_DESCRIPTION sc not returning proper value
This commit is contained in:
commit
526036c7b1
4
page.php
4
page.php
@ -300,7 +300,7 @@ class pageClass
|
||||
$frm = e107::getForm();
|
||||
|
||||
// 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';
|
||||
}
|
||||
@ -1014,4 +1014,4 @@ class pageClass
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user