Bug 4461: (follow-up) Creating sample notice and other fixes
[koha.git] / tools / letter.pl
index c658dbf..6044243 100755 (executable)
@@ -261,6 +261,10 @@ sub add_form {
         if ( $module eq 'circulation' and $code and $code =~ /^AR_/  ) {
             push @{$field_selection}, add_fields('article_requests');
         }
+
+        if ( $module eq 'members' and $code and $code eq 'PROBLEM_REPORT' ) {
+            push @{$field_selection}, add_fields('problem_reports');
+        }
     }
 
     my $preview_is_available = 0;