Skip to content
Snippets Groups Projects
Commit 22cd42d2 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix crash searching for FAQ's by help topic

parent b4f12503
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ if($_REQUEST['q'] || $_REQUEST['cid'] || $_REQUEST['topicId']) { //Search.
$faqs->filter(array('category_id'=>$_REQUEST['cid']));
if ($_REQUEST['topicId'])
$faqs->filter(array('topic_id'=>$_REQUEST['topicId']));
$faqs->filter(array('topics__topic_id'=>$_REQUEST['topicId']));
if ($_REQUEST['q'])
$faqs->filter(Q::ANY(array(
......
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