projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
27a4ad4
)
if but not if defined?
author
Shawn Boyette
<sboyette@esilibrary.com>
Tue, 19 Aug 2008 14:01:00 +0000 (14:01 +0000)
committer
Shawn Boyette
<sboyette@esilibrary.com>
Tue, 19 Aug 2008 14:01:00 +0000 (14:01 +0000)
fingerprinter
patch
|
blob
|
history
diff --git
a/fingerprinter
b/fingerprinter
index
9ee6c19
..
a08efea
100755
(executable)
--- a/
fingerprinter
+++ b/
fingerprinter
@@
-113,7
+113,7
@@
sub populate_marc {
$marc{desc} = $record->field('300')->subfield('a') if $record->field('300');
$marc{pages} = $1 if (defined $marc{desc} and $marc{desc} =~ /(\d+)/);
$marc{title} = $record->field('245')->subfield('a')
- if defined $record->field('245');
+ if $record->field('245');
$marc{edition} = $record->field('250')->subfield('a')
if $record->field('250');
if ($record->field('260')) {