Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
GusBeare committed Dec 15, 2016
1 parent 6c018e9 commit d647105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DNNContactFormModule.csproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<UseIISExpress>true</UseIISExpress>
<ProjectView>ShowAllFiles</ProjectView>
<ProjectView>ProjectFiles</ProjectView>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
Expand Down
2 changes: 1 addition & 1 deletion View.ascx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected void btnSubmit_OnClick(object sender, EventArgs e)
var CallerAgent = HttpContext.Current.Request.UserAgent;
var CalledUrl = HttpContext.Current.Request.Url.OriginalString;


// #DEV add additional validation here, check email address.
// just make sure someone hasn't bypassed the in browser validation
if (string.IsNullOrEmpty(name) || string.IsNullOrEmpty(EnquirerEmail) || string.IsNullOrEmpty(comments) ||
string.IsNullOrEmpty(phone))
Expand Down

0 comments on commit d647105

Please sign in to comment.