This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: asp_results filter gives result where there is none…

#7285
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

The issue is that there are keyword suggestions returned, but the filter is still executed. It’s my mistake, I accidentally changed this part in the recent version, and the “asp_results” filter executes when there are no result returned.

Try adding this line as the first line to your function:

[php]if ( !empty($results[‘nores’] ) return $results;[/php]

That should terminate execution if there are keyword suggestion available as result.