This is pretty minor, but if the $keywords argument to apachesolr_stats_report_frequent_keywords() is null, then asort() and array_slice() both complain that they didn't receive arrays.
I have attached a patch which fixes this (just returns an empty string if $keywords is empty).
| Comment | File | Size | Author |
|---|---|---|---|
| null_keywords.patch | 1.39 KB | haxney |
Comments
Comment #1
janusman commentedThanks! Patch did not apply... but made the changes and committed.