diff options
| author | Mark Wells <mark@freeside.biz> | 2016-08-02 11:41:51 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2016-08-02 13:17:07 -0700 |
| commit | 34c878349988d97957f1d53427896a4d70afb392 (patch) | |
| tree | 44dfc6243fad77753b4e3674ad9d92cd11ddf4d7 /httemplate/elements/tr-select-reason.html | |
| parent | 4f3d9e2ef5ce5305363ae426b87ed2b873b355d8 (diff) | |
agent commission schedules for consecutive invoices, #71217
Diffstat (limited to 'httemplate/elements/tr-select-reason.html')
| -rwxr-xr-x | httemplate/elements/tr-select-reason.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html index 97466f175..9a430222c 100755 --- a/httemplate/elements/tr-select-reason.html +++ b/httemplate/elements/tr-select-reason.html @@ -188,9 +188,8 @@ my $class = $opt{'reason_class'}; my $init_reason; if ( $opt{'cgi'} ) { $init_reason = $opt{'cgi'}->param($name); -} else { - $init_reason = $opt{'curr_value'}; } +$init_reason ||= $opt{'curr_value'}; my $id = $opt{'id'} || $name; $id =~ s/\./_/g; # for edit/part_event |
