From 2eee30bd178dd6d946155ba367c3e40d164ee518 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 19 Nov 2013 11:40:12 +0100 Subject: [PATCH] LSsearch::setParams() : fixed attributes setting --- public_html/includes/class/class.LSsearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSsearch.php b/public_html/includes/class/class.LSsearch.php index 80081a1e..398db9bc 100644 --- a/public_html/includes/class/class.LSsearch.php +++ b/public_html/includes/class/class.LSsearch.php @@ -435,7 +435,7 @@ class LSsearch { } elseif (is_array($params['attributes'])) { $this -> params['attributes']=array(); - foreach ($this -> params['attributes'] as $attr) { + foreach ($params['attributes'] as $attr) { if (is_string($attr)) { if (LSconfig::get("LSobjects.".$this -> LSobject.".attrs.$attr")) {; $this -> params['attributes'][] = $attr;