diff --git a/class/faq.php b/class/faq.php index 4993ae3..109e727 100644 --- a/class/faq.php +++ b/class/faq.php @@ -252,6 +252,7 @@ class Faq $AVE_Template->assign($faq); $AVE_Template->assign('questions', $questions); + $AVE_Template->assign('faq_id', (int)$id); } /** diff --git a/templates/show_faq.tpl b/templates/show_faq.tpl index e1328f8..1e3cf0e 100644 --- a/templates/show_faq.tpl +++ b/templates/show_faq.tpl @@ -1,15 +1,22 @@