added a PHP tag. You can see it right after the code button
PHP
<?php
function unparse_php_tag($txt="")
{
global $ibforums;
$txt = str_replace("<!--SDS-->$<!--EDS-->", "$", $txt);
$txt = str_replace("<code>" , "" , $txt);
$txt = str_replace("</code>", "" , $txt);
$txt = str_replace("</font>", "" , $txt);
$txt = str_replace("</span>", "" , $txt);
$txt = preg_replace("#\<font(.+?)>#", "", $txt);
$txt = preg_replace("#\<span(.+?)>#", "", $txt);
$txt = preg_replace("#^<span(.+?)><br />(.+?)#", "\\2", $txt);
$txt = preg_replace("#(.+?)(?:<br />){1,}$#", "\\1", $txt);
$txt = str_replace("<br />" , "\n", $txt);
}
?>
Took out the return statement, since it contained the php tag, and messed things up.