LSsearch::setParams() : fixed attributes setting

This commit is contained in:
Benjamin Renard 2013-11-19 11:40:12 +01:00
parent 6f84a238f3
commit 2eee30bd17

View file

@ -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;