From: Sven Schöling Date: Sun, 5 Dec 2021 18:34:02 +0000 (+0100) Subject: Inventory: typo in set employee hook X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~216^2~48 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=eccf9705304dd80c9ed3e65704555603c49e4a26;p=kivitendo-erp.git Inventory: typo in set employee hook --- diff --git a/SL/DB/Inventory.pm b/SL/DB/Inventory.pm index df78623cf..3dccdd5f2 100644 --- a/SL/DB/Inventory.pm +++ b/SL/DB/Inventory.pm @@ -76,7 +76,7 @@ sub _before_save_set_shippingdate { sub _before_save_set_employee { my ($self, %params) = @_; - return 1 if $self->emplyee_id; + return 1 if $self->employee_id; $self->employee(SL::DB::Manager::Employee->current);