mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
#4393 Available chapter id on chapter page
This commit is contained in:
parent
e371da1785
commit
364f41231a
@ -24,7 +24,7 @@ class page_shortcodes extends e_shortcode
|
||||
|
||||
if(($action == 'listPages' || $action == 'listChapters') && vartrue($this->request['id']))
|
||||
{
|
||||
$this->var = e107::getDb()->retrieve('page_chapters','chapter_name, chapter_meta_description, chapter_sef','chapter_id = '.intval($this->request['id']).' LIMIT 1');
|
||||
$this->var = e107::getDb()->retrieve('page_chapters','chapter_id, chapter_name, chapter_meta_description, chapter_sef','chapter_id = '.intval($this->request['id']).' LIMIT 1');
|
||||
}
|
||||
|
||||
if($action == 'showPage' && vartrue($this->request['id'])) // get chapter and description from current.
|
||||
|
Loading…
x
Reference in New Issue
Block a user