Project

General

Profile

« Previous | Next » 

Revision 9554

Fix a bug in testing the validity of the CGI Session. It can't be empty or expired.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

View differences:

src/perl/register-dataset.cgi
5755 5755

  
5756 5756
        }
5757 5757

  
5758
    } elsif ( $session->is_empty && ! $session->is_expired ) {
5758
    } elsif ( ! $session->is_empty && ! $session->is_expired ) {
5759 5759
        $valid = 1;
5760 5760
        if ( $debug_enabled ) {
5761 5761
                debug('The CGI session is valid.');

Also available in: Unified diff