00022: $Needle shows up in search form in edit mode

Summary: $Needle shows up in search form in edit mode
Created: 2004-09-02 13:53
Status: Closed - fixed for 1.0.12
Category: Bug
From: Ari
Assigned:
Priority: 2
Version: 1.0.1
OS:

Description:

When editing a page with a search form (including when it's in the header on every page), "$Needle" shows up in the search form instead of it being blank. To fix it, replace line 53 in scripts/search.php with the following:

 } else {
   $Needle = "";
 }