Skip to content
Snippets Groups Projects
Commit ea9dd5f6 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #2374 from jdelhome3578/patch-4


ui: malformed featured FAQ URL in sidebar

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 46ab79b3 e9383470
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ $BUTTONS = isset($BUTTONS) ? $BUTTONS : true;
if ($faqs->all()) { ?>
<section><div class="header"><?php echo __('Featured Questions'); ?></div>
<?php foreach ($faqs as $F) { ?>
<div><a href="<?php echo ROOT_PATH; ?>/kb/faq.php?id=<?php
<div><a href="<?php echo ROOT_PATH; ?>kb/faq.php?id=<?php
echo urlencode($F->getId());
?>"><?php echo $F->getLocalQuestion(); ?></a></div>
<?php } ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment