UI to disable message templates, #26035
[freeside.git] / FS / FS / part_export / send_email.pm
index 6ba131f..1fcb828 100644 (file)
@@ -21,7 +21,7 @@ my %template_select = (
     %templates = (0 => '',
       map { $_->msgnum, $_->msgname } 
       qsearch({ table => 'msg_template',
-                hashref => {},
+                hashref => { disabled => 1 },
                 order_by => 'ORDER BY msgnum ASC'
               })
     );