From eccf9705304dd80c9ed3e65704555603c49e4a26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Sun, 5 Dec 2021 19:34:02 +0100 Subject: [PATCH] Inventory: typo in set employee hook --- SL/DB/Inventory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1