From 69c9d928663333e534f72de66d78fba1709707a9 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Tue, 31 Jan 2017 16:38:18 +0100 Subject: [PATCH] SL::Dev::Part - Typo --- SL/Dev/Part.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Dev/Part.pm b/SL/Dev/Part.pm index e1d08e8b5..7b67ada5b 100644 --- a/SL/Dev/Part.pm +++ b/SL/Dev/Part.pm @@ -40,7 +40,7 @@ sub create_assembly { my (%params) = @_; my @parts; - my $partnumber = delete $params{part1number} || 'ap1'; + my $partnumber = delete $params{partnumber} || 'ap1'; my $part1 = SL::Dev::Part::create_part(partnumber => $partnumber, description => 'Testpart', )->save; -- 2.20.1