From a07cd5e865cd17fb70fa332ad2e5490ef178b659 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Mon, 10 Dec 2018 12:52:13 +0000 Subject: [PATCH] Bug 20254: Set correct member in working_directory Koha::Edifact::Transport working_directory was setting the wrong member name correct that method is only used in testing Signed-off-by: Mark Tompsett Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- Koha/Edifact/Transport.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Edifact/Transport.pm b/Koha/Edifact/Transport.pm index f53017bc39..a64d583776 100644 --- a/Koha/Edifact/Transport.pm +++ b/Koha/Edifact/Transport.pm @@ -50,9 +50,9 @@ sub new { sub working_directory { my ( $self, $new_value ) = @_; if ($new_value) { - $self->{working_directory} = $new_value; + $self->{working_dir} = $new_value; } - return $self->{working_directory}; + return $self->{working_dir}; } sub download_messages { -- 2.39.5