projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix some warnings in ticket escalation, #17417
[freeside.git]
/
rt
/
lib
/
RT
/
Action
/
Accumulate.pm
diff --git
a/rt/lib/RT/Action/Accumulate.pm
b/rt/lib/RT/Action/Accumulate.pm
index
c4ca667
..
14675b8
100644
(file)
--- a/
rt/lib/RT/Action/Accumulate.pm
+++ b/
rt/lib/RT/Action/Accumulate.pm
@@
-23,7
+23,8
@@
the same name, and should be single-valued fields.
sub Prepare {
my $self = shift;
my $cfname = $self->Argument or return 0;
sub Prepare {
my $self = shift;
my $cfname = $self->Argument or return 0;
- $self->{'inc_by'} = $self->TransactionObj->FirstCustomFieldValue($cfname);
+ $self->{'inc_by'} = $self->TransactionObj->FirstCustomFieldValue($cfname)
+ || '';
return ( $self->{'inc_by'} =~ /^(\d+)$/ );
}
return ( $self->{'inc_by'} =~ /^(\d+)$/ );
}