From d3880a303b1421b19123efa85661101574bcea79 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 13 May 2014 19:50:28 -0700 Subject: [PATCH] Fixes #562 - FAQs template. Thanks @Jimmi08 --- e107_plugins/faqs/controllers/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/faqs/controllers/list.php b/e107_plugins/faqs/controllers/list.php index 8e07693e6..35005ddbd 100644 --- a/e107_plugins/faqs/controllers/list.php +++ b/e107_plugins/faqs/controllers/list.php @@ -116,7 +116,7 @@ class plugin_faqs_list_controller extends eControllerFront $sc->counter++; if($category) $meta = $rw; } - $text .= $tp->parseTemplate($FAQ_LISTALL['end'], true, $sc); + $text .= ($start) ? $tp->parseTemplate($FAQ_LISTALL['end'], true, $sc) : ""; $text .= $tp->parseTemplate($FAQ_END, true, $sc); // add meta data if there is parent category