Parse all times using ValidateTime

master
Vitaliy Filippov 2014-05-22 02:11:57 +04:00
parent 70bad71d23
commit 12b081c4d3
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ sub HandleSuperWorktime
foreach (map { /^wtime_(\d+)$/ } keys %$args)
{
$t = $args->{"wtime_$_"};
$times->{$_} = $t if $t;
$times->{$_} = Bugzilla::Bug::ValidateTime($t, 'work_time') if $t;
}
# В транзакции сначала готовим, потом коммитим
Bugzilla->dbh->bz_start_transaction();