Commit 99109d4b authored by Tobias Haider's avatar Tobias Haider
Browse files

fix for semantic queries in navigation

parent fe869bfa
......@@ -297,7 +297,7 @@ class TweekiHooks {
if ( !is_numeric( $semanticHitNumber ) || $semanticHitNumber < 1 ) {
return array( array( 'text' => $semanticQuery, 'href' => 'INVALID QUERY' ) );
}
$semanticHits = $parser->recursiveTagParse( '{{#ask:' . $semanticQuery . '|format=list|link=none}}', false );
$semanticHits = $parser->recursiveTagParse( '{{#ask:' . $semanticQuery . '|link=none}}', false );
$semanticHits = explode( ',', $semanticHits );
$semanticLinks = array();
foreach ( $semanticHits as $semanticHit ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment