Skip to content
  • joubu's avatar
    Bug 20443: Do not explode if attribute does not have a valid av · b01ce4f4
    joubu authored
    
    
    Template process failed: undef error - Can't call method "lib" on an undefined value at /kohadevbox/koha/Koha/Patron/Attribute.pm line 109.                                                                         at /kohadevbox/koha/C4/Templates.pm line 122
    
    We should not crash as it if the attribute is linked to an invalid
    authorised value (for instance the AV has been deleted)
    
    We must provide a check in the search_for_data_inconsistencies.pl script
    
    Signed-off-by: default avatarNick Clemens <nick@bywatersolutions.com>
    b01ce4f4