From a108256face480867de76f348d577ade0481cdfa Mon Sep 17 00:00:00 2001 From: Jesse Weaver Date: Thu, 21 Jul 2016 13:34:26 -0600 Subject: [PATCH] Bug 15774: (QA follow-up) Make sure that tablename is correctly saved MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Séverine QUEUNE Signed-off-by: Jonathan Druart Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- admin/additional-fields.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/additional-fields.pl b/admin/additional-fields.pl index be85381f98..0fc8b5f09a 100755 --- a/admin/additional-fields.pl +++ b/admin/additional-fields.pl @@ -107,7 +107,7 @@ if ( $op eq 'add_form' ) { $field = Koha::AdditionalField->new( { id => $field_id } )->fetch; } - $tablename = $field->{tablename}; + $tablename = $field->{tablename} if $field; $template->param( field => $field, -- 2.39.5