projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcb2302
)
fix to be how we always search for un-disabled things, RT#32230
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 5 Dec 2014 00:09:10 +0000
(16:09 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 5 Dec 2014 00:09:10 +0000
(16:09 -0800)
FS/FS/part_export/send_email.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/send_email.pm
b/FS/FS/part_export/send_email.pm
index
3e51422
..
537a562
100644
(file)
--- a/
FS/FS/part_export/send_email.pm
+++ b/
FS/FS/part_export/send_email.pm
@@
-17,13
+17,13
@@
my %template_select = (
$templates{$_[0]};
},
option_values => sub {
- %templates = (0 => '',
+ %templates = (
+ 0 => '',
map { $_->msgnum, $_->msgname }
- qsearch({ table => 'msg_template',
- hashref => { disabled => { 'op' => '!=',
- 'value' => 1 }},
- order_by => 'ORDER BY msgnum ASC'
- })
+ qsearch({ table => 'msg_template',
+ hashref => { disabled => '', },
+ order_by => 'ORDER BY msgnum ASC'
+ })
);
sort keys (%templates);
},