00383: Search with no search string gives errors

Summary: Search with no search string gives errors
Created: 2005-03-13 22:26
Status: Closed - now fixed
Category: Bug
Assigned:
Priority: 32
Version: 2.0b26
OS:

Description: This is a small cosmetic thing, but one of my users reported it so here it is:

If you hit the "Go" button for a search, without entering a search string, you get a lot of errors, then the page displays at the bottom of the browser window.

You can re-create the error by hitting "Go" on the search box of www.pmwiki.org

The Errors are lots of the first line, then 1 of the second line:

 Warning: stristr(): Empty delimiter. in /home/pmichaud/pmwiki/scripts/pagelist.php on line 75

 Warning: Cannot modify header information - headers already sent by (output started at /home/pmichaud/pmwiki/scripts/pagelist.php:75) in /home/pmichaud/pmwiki/pmwiki.php on line 657

--LincolnMackay