Changeset 1811 for trunk/LATMOS-Accounts


Ignore:
Timestamp:
07/04/16 13:44:55 (8 years ago)
Author:
nanardon
Message:

Fix overlap employment detection

File:
1 edited

Legend:

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

    r1787 r1811  
    442442        my $sth = $base->db->prepare_cached(q{ 
    443443            select * from employment where "user" = ? and name != ? 
    444             and lastday is NULL OR  lastday >= ? 
     444            and (lastday is NULL OR lastday >= ?) 
    445445            limit 1 
    446446        }); 
Note: See TracChangeset for help on using the changeset viewer.