Pagination/search gives warnings on first time use

Asked by Brian Rippon on 2011-02-23

The first time a pagination page is invoked by a user, I get warnings:

Undefined index: filter_search (.../plugins/Pagination/includes/pagination.class.php line 237 ) (and lines 240 and 410)

Once a search has been performed, the warnings never reappear as $this->filter['filter_search'] can presumably pick up a value from the cache.

Is the initialisation code for $this->filter correct?

Question information

Language:
English Edit question
Status:
Solved
For:
PHPDevShell Edit question
Assignee:
No assignee Edit question
Solved by:
Brian Rippon
Solved:
2011-02-24
Last query:
2011-02-24
Last reply:
Brian Rippon (brian-rippon) said : #1

Sorry I've just found 3.0.0 stable and see that this is probably fixed...

Greg (gregfr) said : #2

Thanks for your report. Don't hesitate to report any bug and ask any question you might encounter, we are always looking to improve the product.

Greg

TitanKing (titan-phpdevshell) said : #3

Indeed, this is supposed to be fixed in stable :)