I get this notice when searching for something that does not have any search results:
Notice: Undefined index: pager_total_items in include() (line 29 of /sites/all/themes/simpleclean/search-results.tpl.php).
Adding a patch to remove the notice.
| Comment | File | Size | Author |
|---|---|---|---|
| simpleclean-undefined-index-when-no-search-results.patch | 558 bytes | kleve |
Comments
Comment #1
acke commentedI couldn't reproduce this but the code looks good and I see how the notice can appear under certain circumstances. It's commited and pushed to head and going into next release. Thanks for the help Kleve !