I'm trying to customize the default search widget, using the code from http://automattic.com/code/widgets/themes/ (the "The search widget is still ugly..." part). I got that code and added it to my functions.php file.
It works fine, but when i try to go to wp-admin i get this error:
Warning: Cannot modify header information - headers already sent by (output started at wp-content\themes\cmaccess\functions.php:24) in \wp-includes\pluggable-functions.php on line 272
What am i doing wrong?