Bug 10720: fix issue that prevented use of HTML tags in overdue notices
[koha.git] / misc / cronjobs / overdue_notices.pl
index 9575e75..7745047 100755 (executable)
@@ -580,8 +580,6 @@ END_SQL
                 if (@misses) {
                     $verbose and warn "The following terms were not matched and replaced: \n\t" . join "\n\t", @misses;
                 }
-                $letter->{'content'} =~ s/\<[^<>]*?\>//g;    # Now that we've warned about them, remove them.
-                $letter->{'content'} =~ s/\<[^<>]*?\>//g;    # 2nd pass for the double nesting.
 
                 if ( !$nomail && scalar @emails_to_use ) {
                     C4::Letters::EnqueueLetter(