[Bps-public-commit] RT-Extension-rt_cpan_org branch, master, updated. 6a688ef7c07877d4a1afa98b3c1fa007010c012a
Alex Vandiver
alexmv at bestpractical.com
Mon Dec 2 17:18:22 EST 2013
The branch, master has been updated
via 6a688ef7c07877d4a1afa98b3c1fa007010c012a (commit)
from 3b92fbe325ca0b4eb74ad0b91d6983b28161e016 (commit)
Summary of changes:
bin/rt-cpan-export-db | 1 +
1 file changed, 1 insertion(+)
- Log -----------------------------------------------------------------
commit 6a688ef7c07877d4a1afa98b3c1fa007010c012a
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Mon Dec 2 17:18:18 2013 -0500
Some tickets look to have null subjects; default to ""
diff --git a/bin/rt-cpan-export-db b/bin/rt-cpan-export-db
index ad6ea9c..a83a9fd 100755
--- a/bin/rt-cpan-export-db
+++ b/bin/rt-cpan-export-db
@@ -91,6 +91,7 @@ exit(0);
my $count = 0;
sub insert_ticket {
my %col = @_;
+ $col{subject} = '' unless defined $col{subject};
$dbh->do("INSERT INTO ticket ( id, distribution, subject, status, severity, created, updated ) VALUES ( ?, ?, ?, ?, ?, ?, ? )", {},
$col{id},
$col{distribution},
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list