summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorivan <ivan>2007-10-04 04:21:10 +0000
committerivan <ivan>2007-10-04 04:21:10 +0000
commit3dc6bff7a0a4ceaacd18a7ce6b50cd2b8a2ce498 (patch)
tree5dbc1a8c430f216c4190803083915aebc2a1166a /FS/FS
parente12190965086d63e4783aa87775dac3f00473d60 (diff)
i really hope this finally does it
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/cust_main.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index bf7c2e915..a8a9ae43b 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -5789,6 +5789,7 @@ sub _agent_plandata {
my $part_event_option =
qsearchs({
+ 'select' => 'part_event_option.*',
'table' => 'part_event_option',
'addl_from' => q{
LEFT JOIN part_event USING ( eventpart )
@@ -5826,7 +5827,7 @@ sub _agent_plandata {
unless ( $part_event_option ) {
return $self->agent->invoice_template || ''
- if $option eq '$agent_templatename';
+ if $option eq 'agent_templatename';
return '';
}