Found one more while trying to get things to work.  Sorry to send these out
separately.

As mailed yesterday, the templates had reversed the logic for
OpenSRS.conf's custom_tech_contact variable.  It turns out both the
.biz.cgi and .info.cgi scripts had reversed the logic as well.  Here is the
fix:

Index: cgi-bin/secure/reg_system.biz.cgi
===================================================================
RCS file: 
/usr/local/src/cvsroot/horsey.gshapiro.net/usr/local/www/retsiger.com/cgi-bin/secure/reg_system.biz.cgi,v
retrieving revision 1.2
diff -u -r1.2 reg_system.biz.cgi
--- cgi-bin/secure/reg_system.biz.cgi   2001/07/06 05:47:46     1.2
+++ cgi-bin/secure/reg_system.biz.cgi   2001/07/07 06:21:39
@@ -423,7 +423,7 @@
        
        my $tech={};
        delete @in{"tech_use_default_tech","tech_use_admin"};
-       if ($REG_SYSTEM{custom_tech_contact}){
+       if (!$REG_SYSTEM{custom_tech_contact}){
            $tech = {use_default_tech=>1};
        } elsif ($in{flag_tech_use_admin}){
            $tech = {use_admin=>1};
Index: cgi-bin/secure/reg_system.info.cgi
===================================================================
RCS file: 
/usr/local/src/cvsroot/horsey.gshapiro.net/usr/local/www/retsiger.com/cgi-bin/secure/reg_system.info.cgi,v
retrieving revision 1.3
diff -u -r1.3 reg_system.info.cgi
--- cgi-bin/secure/reg_system.info.cgi  2001/07/06 04:58:30     1.3
+++ cgi-bin/secure/reg_system.info.cgi  2001/07/07 06:21:39
@@ -475,7 +475,7 @@
        
        my $tech={};
        delete @in{"tech_use_default_tech","tech_use_admin"};
-       if ($REG_SYSTEM{custom_tech_contact}){
+       if (!$REG_SYSTEM{custom_tech_contact}){
            $tech = {use_default_tech=>1};
        } elsif ($in{flag_tech_use_admin}){
            $tech = {use_admin=>1};

Reply via email to