diff --git a/ajax_facets.pages.inc b/ajax_facets.pages.inc index 4c38e34..b059b1c 100755 --- a/ajax_facets.pages.inc +++ b/ajax_facets.pages.inc @@ -20,7 +20,7 @@ function ajax_facets_refresh_facets_content() { $searcher = 'search_api@' . $_GET['index_id']; $adapter = facetapi_adapter_load($searcher); $blocks = ajax_facets_process_facet_blocks($searcher); - $facet_query = !empty($_GET['f']) ? $_GET['f'] : ''; + $facet_query = !empty($_GET['f']) ? $_GET['f'] : array(); $result = array( 'applyUrl' => ajax_facets_facet_build_apply_path($adapter),