diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-05 02:49:01 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-05 02:49:01 +0200 |
commit | 3a0affd238cd65bc8c40e316ab20663f3110cee9 (patch) | |
tree | e528e66baa0741ca9842bbfd25868e33eb7776fe | |
parent | Bump version for 4.1.3. (diff) | |
download | bugzilla-3a0affd238cd65bc8c40e316ab20663f3110cee9.tar.gz bugzilla-3a0affd238cd65bc8c40e316ab20663f3110cee9.tar.bz2 bugzilla-3a0affd238cd65bc8c40e316ab20663f3110cee9.zip |
Bug 676430: When editing a bug, a user not in the timetracking group generates "Use of uninitialized value in abs at Bugzilla/Bug.pm line 2682" in the web server error logrelease-4.1.3bugzilla-4.1.3
r/a=mkanat
-rw-r--r-- | Bugzilla/Bug.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 1f0034ff7..40bf3af2e 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -2679,7 +2679,7 @@ sub add_comment { # This makes it so we won't create new comments when there is nothing # to add - if ($comment eq '' && !($params->{type} || abs($params->{work_time}))) { + if ($comment eq '' && !($params->{type} || abs($params->{work_time} || 0))) { return; } |