David K
Junior Member
 
494 Posts |
Posted - 25 November 2002 : 05:58:14
|
This file has an error correction rutine that apperantly was copied from admin_config_features.asp: if Request.Form("Method_Type") = "Write_Configuration" then Err_Msg = "" if Request.Form("strIMGInPosts") = "1" and Request.Form("strAllowForumCode") = "0" then Err_Msg = Err_Msg & "<li>Forum Code Must be Enabled in order to Enable Images</li>" end if if (Request.Form("strHotTopic") = "1" and strHotTopic = "1") or (Request.Form("strHotTopic") = "1" and strHotTopic = "0") then if Request.Form("intHotTopicNum") = "" then Err_Msg = Err_Msg & "<li>You Must Enter a Hot Topic Number</li>" end if if left(Request.Form("intHotTopicNum"), 1) = "-" then Err_Msg = Err_Msg & "<li>You Must Enter a positive Hot Topic Number</li>" end if if left(Request.Form("intHotTopicNum"), 1) = "+" then Err_Msg = Err_Msg & "<li>You Must Enter a positive Hot Topic Number without the <b>+</b></li>" end if end if
Why is this code there, the only settings there are boolean, so there's no need for an error check, it's just extra code, isn't it? |
|