Coroico / AdvSearch

Dynamic content search add-on for MODx Revolution that supports results highlighting, faceted search and search in custom packages
21 stars 14 forks source link

"Undefined index: addCss" after upgrade to AdvSearch 1.0.1 #40

Closed anhuth closed 11 years ago

anhuth commented 11 years ago

After upgrading AdvSearch from version 1.0.0 to 1.0.1, following notice appears after any search:

Notice: Undefined index: addCss in /components/advsearch/model/advsearch/advsearch.class.php on line 357

I deinstalled Advsearch completely and reinstalled again, but this didn't help.

I commented out the indicated new line in code: // if ($this->config['addCss'] == 1) $this->modx->regClientCss($this->config['assetsUrl'] . 'css/advsearch.css');

This helped, of course, but doesn't look like an eligible solution, since there was probably a good reason to insert that line.

Coroico commented 11 years ago

To fix this issue see commit 4fee690532

anhuth commented 11 years ago

Looks good. No Notice anymore since insertion of the fix. Thanks!