### Eclipse Workspace Patch 1.0
#P drupalcvs
Index: themes/engines/phptemplate/phptemplate.engine
===================================================================
RCS file: /cvs/drupal/drupal/themes/engines/phptemplate/phptemplate.engine,v
retrieving revision 1.54.2.1
diff -u -r1.54.2.1 phptemplate.engine
--- themes/engines/phptemplate/phptemplate.engine	25 Mar 2007 22:46:38 -0000	1.54.2.1
+++ themes/engines/phptemplate/phptemplate.engine	7 May 2007 04:37:04 -0000
@@ -155,7 +155,7 @@
   }
 
   /* Add favicon */
-  if (theme_get_setting('toggle_favicon')) {
+  if (theme_get_setting('toggle_favicon') && strlen(theme_get_setting('favicon')) > 0) {
     drupal_set_html_head('<link rel="shortcut icon" href="'. check_url(theme_get_setting('favicon')) .'" type="image/x-icon" />');
   }
 
