Ignore:
Timestamp:
02/22/05 14:30:36 (20 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Port forward enhanced "default CustID" feature from /trunk r167

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/main.cgi

    r165 r168  
    10131013#    print "<!-- [ In validateInput().  Insert customer ID cross-check here. ] -->\n";
    10141014  } else {
    1015     # All non-customer allocations MUST be entered with "our" customer ID.
    1016     # I have Defined this as 6750400 for consistency.
    1017     # STAFF is also acceptable.
     1015    # New!  Improved!  And now Loaded From The Database!!
    10181016    if ((!$webvar{custid}) || ($webvar{custid} ne 'STAFF')) {
    1019       $webvar{custid} = "6750400";
     1017      $webvar{custid} = $def_custids{$webvar{alloctype}};
    10201018    }
    10211019  }
Note: See TracChangeset for help on using the changeset viewer.