Ignore:
Timestamp:
10/02/19 09:56:41 (5 years ago)
Author:
nanardon
Message:

OCHelper now return the name of created object

File:
1 edited

Legend:

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

    r2284 r2286  
    264264                        } 
    265265 
    266                         if ($ochelper->Automate($info)) { 
    267                             push(@ids, $res->{name}); 
     266                        if (my $id = $ochelper->Automate($info)) { 
     267                            push(@ids, $id); 
    268268                        } else { 
    269269                            warn "Cannot create object line $linecount (not enough information ?)\n"; 
Note: See TracChangeset for help on using the changeset viewer.