projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aa1542
)
warning on C4/Biblio.pm
author
Paul Poulain
<paul.poulain@biblibre.com>
Mon, 1 Feb 2010 10:21:40 +0000
(11:21 +0100)
committer
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Fri, 14 May 2010 07:27:43 +0000
(09:27 +0200)
C4/Biblio.pm
patch
|
blob
|
history
diff --git
a/C4/Biblio.pm
b/C4/Biblio.pm
index
883678a
..
c0777ab
100755
(executable)
--- a/
C4/Biblio.pm
+++ b/
C4/Biblio.pm
@@
-3000,6
+3000,8
@@
sub _koha_marc_update_bib_ids {
# we drop the original field
# we add the new builded field.
my ($biblio_tag, $biblio_subfield ) = GetMarcFromKohaField("biblio.biblionumber",$frameworkcode);
+ unless ( $biblio_tag ) { die "can't GetMarcFromKohaField for framework $frameworkcode"; }
+
my ($biblioitem_tag, $biblioitem_subfield ) = GetMarcFromKohaField("biblioitems.biblioitemnumber",$frameworkcode);
if ($biblio_tag != $biblioitem_tag) {