Changeset 191


Ignore:
Timestamp:
05/26/09 18:07:27 (15 years ago)
Author:
nanardon
Message:
  • trap error on DB object creation
File:
1 edited

Legend:

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

    r178 r191  
    5353        defattr => { map { $_ => ($self->val('_defattr_', $_)) } $self->Parameters('_defattr_') }, 
    5454    ); 
    55     my $base = LATMOS::Accounts::Bases->new($type, %params, label => $section); 
     55    my $base = LATMOS::Accounts::Bases->new($type, %params, label => $section) 
     56        or return; 
    5657    $base->load or return; 
    5758    $base; 
Note: See TracChangeset for help on using the changeset viewer.