1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Fixes #2823 FAQs breadcrumb.

This commit is contained in:
Cameron
2017-10-18 07:05:39 -07:00
parent a37a5d4ff3
commit df63772955

View File

@@ -386,7 +386,8 @@ class faqs_shortcodes extends e_shortcode
function sc_faq_breadcrumb() //TODO Category Detection. and proper SEF Urls with category names. function sc_faq_breadcrumb() //TODO Category Detection. and proper SEF Urls with category names.
{ {
$array = array(); $array = array();
$array[0] = array('url'=> e_REQUEST_SELF, 'text'=>LAN_PLUGIN_FAQS_NAME); // $array[0] = array('url'=> e_REQUEST_SELF, 'text'=>LAN_PLUGIN_FAQS_NAME);
$array[0] = array('url'=> e107::url('faqs','index'), 'text'=>LAN_PLUGIN_FAQS_NAME);
return e107::getForm()->breadcrumb($array); return e107::getForm()->breadcrumb($array);