]> wagnertech.de Git - mfinanz.git/blobdiff - SL/IS.pm
Überflüssiges load entfernt
[mfinanz.git] / SL / IS.pm
index b275833cf45c737267426b7b6da6d0b2083fb0b6..dfa3f1b7839ae511ec552bc2aabd7952426467bd 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -529,7 +529,7 @@ sub invoice_details {
 
   $form->{delivery_term} = SL::DB::Manager::DeliveryTerm->find_by(id => $form->{delivery_term_id} || undef);
   $form->{delivery_term}->description_long($form->{delivery_term}->translated_attribute('description_long', $form->{language_id})) if $form->{delivery_term} && $form->{language_id};
-  $form->{department}    = SL::DB::Manager::Department->find_by(id => $form->{department_id})->load->description if $form->{department_id};
+  $form->{department}    = SL::DB::Manager::Department->find_by(id => $form->{department_id})->description if $form->{department_id};
 
   $form->{username} = $myconfig->{name};