Changeset 2007


Ignore:
Timestamp:
04/28/17 12:37:27 (7 years ago)
Author:
nanardon
Message:

Fix obj ref

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Employment.pm

    r1994 r2007  
    361361    my $firstday = exists($changes{firstday})  
    362362        ? $changes{firstday} :  
    363             $obj ? $obj->get_attributes('firstday') : undef; 
     363            ref $obj ? $obj->get_attributes('firstday') : undef; 
    364364    my $lastday  = exists($changes{lastday}) 
    365365        ?  $changes{lastday} : 
    366             $obj ? $obj->get_attributes('lastday') : undef; 
     366            ref $obj ? $obj->get_attributes('lastday') : undef; 
    367367 
    368368    if ($lastday) { 
Note: See TracChangeset for help on using the changeset viewer.