Koha/cataloguing
Fridolyn SOMERS e31b158245 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>
2013-07-03 04:30:38 -07:00
..
value_builder Bug 9773 - Replace YUI AJAX calls in cataloging plugins with jQuery 2013-05-29 08:30:32 -07:00
addbiblio.pl Bug 10182: Stay on the same tab after saving a biblio 2013-06-17 13:05:16 -07:00
addbooks.pl Bug 9239: Allow the use of QueryParser for all queries 2013-03-16 21:32:32 -04:00
additem.pl Bug 10428: undefined check in add additem.pl 2013-07-03 04:30:38 -07:00
linkitem.pl Bug 5528: Analytic records support 2011-10-13 10:03:39 +13:00
merge.pl Bug 7593: Move orders on the destination record when merging 2 records 2013-05-12 10:29:57 -04:00
merge_ajax.pl Bug 8860 - can't merge if you don't have fast cataloging permissions 2012-10-05 16:51:32 +02: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 8278: build the structure with to_json instead of manually. 2013-05-08 09:49:55 -04:00
z3950_search.pl Revert "Bug 6554 - make Koha internally utf-8 clean" 2013-04-29 15:12:32 -07:00