summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-01-30 23:32:12 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-01-30 23:32:12 +0000
commit937fa4c1db15e8c8b8c655034c9a975bf8f25744 (patch)
tree8ec87e2489bfd0c6acb2b612ab6e6379e2072b38 /PatchIndexer.pm
parentAnother charset fixup patch and include S-O-B header. (diff)
downloadmysql-extras-937fa4c1db15e8c8b8c655034c9a975bf8f25744.tar.gz
mysql-extras-937fa4c1db15e8c8b8c655034c9a975bf8f25744.tar.bz2
mysql-extras-937fa4c1db15e8c8b8c655034c9a975bf8f25744.zip
Fix check.
Diffstat (limited to 'PatchIndexer.pm')
-rw-r--r--PatchIndexer.pm2
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) {