I've noticed that I get a function undefined error in PNG Behave with XML Sitemap 5.x-1.6 module enabled.

Added test in pngbehave.module to ensure function exists to prevent XML sitemap error occuring www.example.com/sitemap.xml

if (function_exists('drupal_set_html_head')) {
    drupal_set_html_head('<!--[if lt IE 7]>
         <script type="text/javascript">
           document.execCommand("BackgroundImageCache", false, true);
           var BlankImgPath = "'. base_path() . drupal_get_path('module', 'pngbehave') .'";
				</script>
        <style type="text/css">' . $pngbehaveclasses . ' { behavior: url('. base_path() . drupal_get_path('module', 'pngbehave') . '/iepngfix.htc)} ' . $pngbehaveexclude . '</style>
        <script type="text/javascript" src="'. base_path() . drupal_get_path('module', 'pngbehave') . '/iepngfix_tilebg.js"></script>
    <![endif]-->');
    }

Comments

mrjeeves’s picture

Assigned: Unassigned » mrjeeves

Thanks for the update. I'm preparing a new version now.

mrjeeves’s picture

Version: 5.x-1.8 » 5.x-1.9
Status: Active » Postponed (maintainer needs more info)
mrjeeves’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)