Commit 05eed3b5 authored by David Lesieur's avatar David Lesieur

Fixed bad initialization of static variable.

parent ced71d61
......@@ -94,7 +94,7 @@ function cck_facets_faceted_search_collect(&$facets, $domain, $env_id, $filter,
* The newly created facet.
function cck_facets_create_facet($field, $active_path = array()) {
static $factories = array();
static $factories = NULL;
if (!isset($factories)) {
$factories = module_invoke_all('cck_facets_factory', 'facet');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment