Bug 14670: Deal with empty publicatoin date
Sponsored-by: Orex Digital Signed-off-by: Hugo Agud <hagud@orex.es> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
96a4371105
commit
23001ba5f7
10
C4/Record.pm
10
C4/Record.pm
|
|
@ -929,10 +929,12 @@ sub marc2cites {
|
|||
}
|
||||
$cites{$_} =~ s/([^\.])$/$1./ for keys %cites;
|
||||
|
||||
$cites{'Harvard'} .= ' (' . $publication{'date'} . '). ';
|
||||
$cites{'Chicago'} .= ' ' . $publication{'date'} . '. ';
|
||||
$cites{'MLA'} .= ' ' . $publication{'title'} . '. ';
|
||||
$cites{'APA'} .= ' (' . $publication{'date'} . '). ';
|
||||
if ( $publication{date} ) {
|
||||
$cites{'Harvard'} .= ' (' . $publication{'date'} . '). ';
|
||||
$cites{'Chicago'} .= ' ' . $publication{'date'} . '. ';
|
||||
$cites{'MLA'} .= ' ' . $publication{'title'} . '. ';
|
||||
$cites{'APA'} .= ' (' . $publication{'date'} . '). ';
|
||||
}
|
||||
$cites{'Harvard'} .= $publication{'title'} . '. ';
|
||||
$cites{'Chicago'} .= $publication{'title'} . '. ';
|
||||
$cites{'MLA'} .= $publication{'place'} . ': ';
|
||||
|
|
|
|||
Loading…
Reference in New Issue