From 6b64a63ecb462a610515fd1609d490e33b28825d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 30 Nov 2015 10:42:54 +0100 Subject: [PATCH] =?utf8?q?=C3=9Cberfl=C3=BCssiges=20load=20entfernt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DO.pm | 2 +- SL/IS.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/DO.pm b/SL/DO.pm index 4e109d812..91d896d7b 100644 --- a/SL/DO.pm +++ b/SL/DO.pm @@ -1055,7 +1055,7 @@ sub order_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}; diff --git a/SL/IS.pm b/SL/IS.pm index b275833cf..dfa3f1b78 100644 --- 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}; -- 2.20.1