X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e185de998d8ed94cef7b3e2b63cc63d5c64ce6cb..d9b8a2fcd3d9886b2cf218d31eb6d37afdae368e:/quotas.php diff --git a/quotas.php b/quotas.php index d79e433a..10653893 100644 --- a/quotas.php +++ b/quotas.php @@ -73,7 +73,7 @@ if ($request->isPost()){ // Validate user input. for ($i = 0; $i < count($months); $i++){ $val = $request->getParameter($months[$i]); - if (!ttTimeHelper::isValidQuota($val)) + if (!$quota->isValidQuota($val)) $err->add($i18n->getKey('error.field'), $months[$i]); } // Finished validating user input.