Bug 15774: (QA follow-up) Make sure that tablename is correctly saved

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Jesse Weaver 2016-07-21 13:34:26 -06:00 committed by Nick Clemens
parent 84f8301229
commit a108256fac
1 changed files with 1 additions and 1 deletions

View File

@ -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,