unbreak event editing, #28804
authorMark Wells <mark@freeside.biz>
Thu, 8 May 2014 22:14:22 +0000 (15:14 -0700)
committerMark Wells <mark@freeside.biz>
Thu, 8 May 2014 22:14:22 +0000 (15:14 -0700)
httemplate/elements/tr-select-agent_type.html

index 400cb4e..9ea943b 100644 (file)
@@ -22,6 +22,6 @@
 my %opt = @_;
 my $typenum = $opt{'curr_value'} || $opt{'value'};
 
-delete $opt{'agent_types'} if $opt{'agent_types'}; #?
+my @agent_types = qsearch('agent_type', {});
 
 </%init>