Skip to content

Commit

Permalink
Merge branch '4.2/zero-attachments-in-forward-txns' into 4.2.11-releng
Browse files Browse the repository at this point in the history
  • Loading branch information
trwww committed Apr 28, 2015
2 parents a7a5261 + 5c774cb commit 62de9fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/upgrade/4.2.11/content
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ EOSQL
$txns->Limit( FIELD => 'Type', VALUE => 'Forward Ticket' );
while ( my $txn = $txns->Next ) {
my $att = $txn->Attachments->First;
next unless $att;

# we only need to process ascii-only strings
unless ( $att->Subject =~ /[^\x00-\x7F]/ ) {
Expand Down

0 comments on commit 62de9fe

Please sign in to comment.