Ignore:
Timestamp:
07/24/12 17:23:59 (12 years ago)
Author:
nanardon
Message:
  • fix attributes existance check
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/bin/la-sql-loadatt

    r1045 r1066  
    5656while (my $row = $csv->getline($fh)) { 
    5757    my ($otype, $attribute, $comment) = @$row; 
    58     if ($labase->attribute($otype, $attribute)) { 
     58    if ($labase->is_registered_attribute($otype, $attribute)) { 
    5959    } else { 
    6060        $labase->register_attribute($otype, $attribute, $comment) 
Note: See TracChangeset for help on using the changeset viewer.