diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-01-30 23:32:12 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-01-30 23:32:12 +0000 |
commit | 937fa4c1db15e8c8b8c655034c9a975bf8f25744 (patch) | |
tree | 8ec87e2489bfd0c6acb2b612ab6e6379e2072b38 /PatchIndexer.pm | |
parent | Another charset fixup patch and include S-O-B header. (diff) | |
download | mysql-extras-937fa4c1db15e8c8b8c655034c9a975bf8f25744.tar.gz mysql-extras-937fa4c1db15e8c8b8c655034c9a975bf8f25744.tar.bz2 mysql-extras-937fa4c1db15e8c8b8c655034c9a975bf8f25744.zip |
Fix check.
Diffstat (limited to 'PatchIndexer.pm')
-rw-r--r-- | PatchIndexer.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PatchIndexer.pm b/PatchIndexer.pm index c1cb598..632ef37 100644 --- a/PatchIndexer.pm +++ b/PatchIndexer.pm @@ -153,7 +153,7 @@ sub selectPatches { } } # Special case for comments - if(length($i->{comment})) { + if(defined($i) and defined($i->{comment}) and length($i->{comment})) { $match_pn = $match_pv = 1; } if($match_pn == 1 and $match_pv == 1) { |