Closed (fixed)
Project:
Apache Solr Statistics
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2010 at 08:20 UTC
Updated:
10 Mar 2010 at 19:10 UTC
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.