diff --git a/content/vendor/form-comments/commentsubmit.php b/content/vendor/form-comments/commentsubmit.php index a40d9be..c465a98 100644 --- a/content/vendor/form-comments/commentsubmit.php +++ b/content/vendor/form-comments/commentsubmit.php @@ -38,6 +38,13 @@ if(empty($_POST['name']) || // article $postID = str_replace('/','',$post_id); + // web-site + if (!empty($link)) { + $web = "Web: {$link}"; + } else { + $web = NULL; + } + //slug $nslug = seourl($name); $fslug = date("Ymd-H:i:s"); @@ -51,14 +58,14 @@ if(empty($_POST['name']) || EOT; $email_body = <<