diff options
author | kiko%async.com.br <> | 2004-08-05 22:51:23 +0200 |
---|---|---|
committer | kiko%async.com.br <> | 2004-08-05 22:51:23 +0200 |
commit | 22c2767cefa1dbb9784f755a51b9e4ff0adb202c (patch) | |
tree | 1f540e34e34bebc5245d93fd0282f880e935da31 /Bugzilla | |
parent | 2774974964c541c312fb98e507a597964473e355 (diff) | |
download | bugzilla-22c2767cefa1dbb9784f755a51b9e4ff0adb202c.tar.gz bugzilla-22c2767cefa1dbb9784f755a51b9e4ff0adb202c.tar.xz |
Whitespace fixes. r=ssdbot
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/Bug.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 31b48649b..38ecf0848 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -491,12 +491,12 @@ sub EmitDependList { return @list; } -sub ValidateTime{ +sub ValidateTime { my ($time, $field) = @_; if ($time > 99999.99 || $time < 0 || !($time =~ /^(?:\d+(?:\.\d*)?|\.\d+)$/)){ ThrowUserError("need_positive_number", {field => "$field"}, "abort"); } - } +} sub AUTOLOAD { use vars qw($AUTOLOAD); |