Ignore:
Timestamp:
11/12/15 05:36:00 (9 years ago)
Author:
nanardon
Message:

Add user tree web page

File:
1 edited

Legend:

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

    r1468 r1484  
    626626sub attributes_summary_by_object { 
    627627    my ($class, $base, $attribute) = @_; 
    628     my $attr = $base->attribute($class->type, $attribute); 
     628    my $attr = $base->attribute($class->type, $attribute) or do { 
     629        $base->log(LA_ERR, "Cannot instantiate %s attribute", $attribute); 
     630        return; 
     631    }; 
    629632    if ($attr->{managed}) { 
    630633        return $class->SUPER::attributes_summary_by_object($base, $attribute); 
Note: See TracChangeset for help on using the changeset viewer.