Ignore:
Timestamp:
07/15/20 19:26:16 (4 years ago)
Author:
nanardon
Message:

Generate an error if no otype is given on create

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Cli.pm

    r2426 r2438  
    272272                ); 
    273273 
     274                if (!$otype) { 
     275                    $self->print("No object type given\n"); 
     276                    return; 
     277                } 
     278 
    274279                if ( $interactive ) { 
    275280                    my $helper = $self->base->ochelper($otype); 
Note: See TracChangeset for help on using the changeset viewer.