Pagination/search gives warnings on first time use

Asked by Brian Rippon

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:
Last query:
Last reply:
Revision history for this message
Brian Rippon (brian-rippon) said :
#1

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

Revision history for this message
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

Revision history for this message
TitanKing (titan-phpdevshell) said :
#3

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