Project

General

Profile

« Previous | Next » 

Revision 2334

Added by sgarg almost 20 years ago

Fixed bug #1551 by adding a conditional statement.

View differences:

register-dataset.cgi
1497 1497
    
1498 1498
    if (scalar(@errorMessages)) {
1499 1499
        # if any errors, print them in the response template 
1500
        $$templateVars{'status'} = 'failure';
1500
        $$templateVars{'status'} = 'failure_no_resubmit';
1501 1501
        $$templateVars{'errorMessages'} = \@errorMessages;
1502 1502
        $error = 1;
1503 1503
        $$templateVars{'function'} = "modification";

Also available in: Unified diff