diff --git a/etc/upgrade/4.2.11/content b/etc/upgrade/4.2.11/content index 8c40d37e8da..5e43db7393a 100644 --- a/etc/upgrade/4.2.11/content +++ b/etc/upgrade/4.2.11/content @@ -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]/ ) {