Bug 11413: Fix return for ModifyRecordWithTemplate
commitf76b5c8141c224fbacc648a88ee171251055b112
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 12 Dec 2013 20:14:24 +0000 (12 21:14 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 14 Nov 2014 15:05:46 +0000 (14 12:05 -0300)
treeeb51937dcd6ce72bafe4b0e273d8f11d6e035415
parentf0f002227dd3da2376cd2d131acfd2847456253b
Bug 11413: Fix return for ModifyRecordWithTemplate

Make sure the ModifyRecordWithTemplate routine returns undef.

This patch also removes a warning if GetModificationTemplates is called
without parameter.

Verify
  prove t/db_dependent/MarcModificationTemplates.t
returns green.

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/MarcModificationTemplates.pm
t/db_dependent/MarcModificationTemplates.t