Problem/Motivation
Notice: Undefined index: f in FacetapiWidgetTabLinks->execute() (line 48 of facetapi_tabs/plugins/facetapi/widget_tab_links.inc).
Looks like maybe a mistake from the last set of fixes.
if (isset($e['#query']['f']) && is_array($e['#query']['f'])) {
foreach ($all['#query']['f'] as $key => $value) {
$temp = explode(':', $value);
if ($temp[0] == $this->facet['field alias']) {
unset($all['#query']['f'][$key]);
}
}
}Proposed resolution
$all should be $e?
Remaining tasks
User interface changes
API changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | notice_undefined-2382157-2.patch | 1.53 KB | joelpittet |
Comments
Comment #1
joelpittetSeems like this change is what did this in:
Comment #2
joelpittetI'm thinking this is the fix.
Comment #3
hypertext200Comment #5
joelpittetThanks @heshan.lk