[Koha-bugs] [Bug 11200] New: Adding subfield without field in addbiblio.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 5 11:02:58 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11200
Bug ID: 11200
Summary: Adding subfield without field in addbiblio.pl
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Cataloging
Assignee: gmcharlt at gmail.com
Reporter: nunyo at masmedios.com
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
In addbiblio.pl, subfield is adding but don't check if field exist.
if ($title) {
# $field->add_subfields("$subfield"=>"[
".ucfirst($title).ucfirst($firstname)." ".$number." ]");
$field->add_subfields(
"$subfield" => ucfirst($title) . " "
. ucfirst($firstname) . " "
. $number );
}
else {
# $field->add_subfields("$subfield"=>"[
".ucfirst($firstname).", ".ucfirst($lastname)." ]");
$field->add_subfields(
"$subfield" => ucfirst($firstname) . ", "
. ucfirst($lastname) );
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list