Koha-clms/cataloguing
Fridolyn SOMERS 932a913a00 Bug 10428: undefined check in add additem.pl
In additem.pl, in the code that generates item form you find:

@values = $itemrecord->field($tag)->subfield($subtag) if ($itemrecord && defined($itemrecord->field($tag)->subfield($subtag)));

This patch adds the check of $itemrecord->field($tag) undef.
I did not found a way to test it because item tag is always defined
when editing an item, but it would be safer/prettier to add this check.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passed-QA-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit e31b158245)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 54d414ee2d)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 54d414ee2d)
Signed-off-by: Chris Hall <followingthepath@gmail.com>
(cherry picked from commit 3390a6efc7)
2013-08-18 16:23:06 +12:00
..
value_builder Bug 8524 follow-up: fix Javascript syntax error 2012-09-14 08:58:28 +12:00
addbiblio.pl Bug 5333 - z3950 normalization should apply only on UNIMARC 2013-03-11 22:05:46 +13:00
addbooks.pl Bug 8172: Followup: Removes useless empty params 2012-08-10 19:24:04 +12:00
additem.pl Bug 10428: undefined check in add additem.pl 2013-08-18 16:23:06 +12:00
linkitem.pl Bug 5528: Analytic records support 2011-10-13 10:03:39 +13:00
merge.pl Bug 8862 follow-up s/\t/4spaces/g 2012-10-23 10:32:35 +13:00
merge_ajax.pl Bug 8860 - can't merge if you don't have fast cataloging permissions 2013-04-21 11:17:35 +12:00
moveitem.pl Bug 5718 : fix permission of moveitem = edit_items needed 2011-02-09 09:33:36 +13:00
plugin_launcher.pl Bug 7356 - Fix various typos and mis-spellings 2012-01-13 11:51:26 +01:00
ysearch.pl Bug 7400: Add auto-completion on auth_finder 2012-03-19 18:20:30 +01:00
z3950_search.pl Bug 8550: Z39.50 searches for ISBN/ISSN problematic 2012-08-11 10:10:34 +12:00