From: ivan Date: Mon, 31 Mar 2008 22:52:48 +0000 (+0000) Subject: signup.cgi fix for hidden agentnum tags with trailling "/ >" X-Git-Tag: root_of_webpay_support~777 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=73f33b4f1198ba1b138c1e6a2bee50631c10e449 signup.cgi fix for hidden agentnum tags with trailling "/ >" --- diff --git a/fs_selfservice/FS-SelfService/cgi/signup.cgi b/fs_selfservice/FS-SelfService/cgi/signup.cgi index e07b6ee5a..83a810873 100755 --- a/fs_selfservice/FS-SelfService/cgi/signup.cgi +++ b/fs_selfservice/FS-SelfService/cgi/signup.cgi @@ -65,7 +65,7 @@ if ( -e $signup_html ) { ) or die $Text::Template::ERROR; if ( $signup_txt =~ - /<\s*INPUT TYPE="?hidden"?\s+NAME="?agentnum"?\s+VALUE="?(\d+)"?\s*>/si + /<\s*INPUT TYPE="?hidden"?\s+NAME="?agentnum"?\s+VALUE="?(\d+)"?\s*\/?\s*>/si ) { $agentnum = $1; }