]> git.koha-community.org Git - koha.git/commit
Bug 11319: [QA follow-up] Remove a warning from GetModificationTemplates
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 31 Oct 2014 09:14:16 +0000 (10:14 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 12 Nov 2014 15:04:29 +0000 (12:04 -0300)
commit44cb93d77d11721e1b67f630cf643091a1c2ec6b
tree2a04831c1fda12855baa491b9ccc214f3c82a61f
parentc9816945fd6592ce7bb6b6e37d72c0215bfc7be0
Bug 11319: [QA follow-up] Remove a warning from GetModificationTemplates

Removes this warning: Use of uninitialized value $template_id in string eq
at C4/MarcModificationTemplates.pm line 84.

GetModificationTemplates has no template_id if called from
marc_modification_templates.pl without operation (first click from
interface) and from tools/stage-marc-import.pl.

Slightly adjusted the POD lines accordingly.

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