--- contact.php 2001/11/21 10:27:39 1.15 +++ contact.php 2001/11/21 10:29:57 1.16 @@ -16,7 +16,6 @@ if (strstr($from,"?")) $from=substr($from,0,strpos($from,"?")); if ($from == $HTTP_HOST || $from=="www.pliva.hr") $from="index"; } -$smarty->assign("from",$from); $email="webmaster@pliva.hr"; // default @@ -47,6 +46,8 @@ include("common.inc"); +$smarty->assign("from",$from); + if (isset($mailto) && check_required()) { $main="Your comment is sent to $mailto. Thank you."; include("quoted-printable.inc");