Commit 22c2767c authored by kiko%async.com.br's avatar kiko%async.com.br

Whitespace fixes. r=ssdbot

parent 27749749
...@@ -491,12 +491,12 @@ sub EmitDependList { ...@@ -491,12 +491,12 @@ sub EmitDependList {
return @list; return @list;
} }
sub ValidateTime{ sub ValidateTime {
my ($time, $field) = @_; my ($time, $field) = @_;
if ($time > 99999.99 || $time < 0 || !($time =~ /^(?:\d+(?:\.\d*)?|\.\d+)$/)){ if ($time > 99999.99 || $time < 0 || !($time =~ /^(?:\d+(?:\.\d*)?|\.\d+)$/)){
ThrowUserError("need_positive_number", {field => "$field"}, "abort"); ThrowUserError("need_positive_number", {field => "$field"}, "abort");
} }
} }
sub AUTOLOAD { sub AUTOLOAD {
use vars qw($AUTOLOAD); use vars qw($AUTOLOAD);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment