1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

Contact page shortcode enhancements

This commit is contained in:
Cameron
2013-03-06 14:54:21 -08:00
parent 4d5d99e37c
commit c4fa286ddf
2 changed files with 14 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ if(isset($_POST['send-contactus']))
}
// Check subject line.
if(strlen(trim($_POST['subject'])) < 2)
if(varset($_POST['subject']) && strlen(trim($_POST['subject'])) < 2)
{
$error .= LANCONTACT_13."\\n";
}