It looks like the global code is wrong:
return $output > -1 ? join('-', $output): 'No terms yet!';
...should be:
return ($output || 'No terms yet!');
Im not sure why you are using this though?
<%top_searches, $inputfunctions%>
return $output > -1 ? join('-', $output): 'No terms yet!';
...should be:
return ($output || 'No terms yet!');
Im not sure why you are using this though?
<%top_searches, $inputfunctions%>