X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a84f7509ea5462f08ca01c5435e0217045391a45..77ee17dc3eaba0f878d95c6c73b52ed891c002fe:/WEB-INF/lib/ttTimeHelper.class.php diff --git a/WEB-INF/lib/ttTimeHelper.class.php b/WEB-INF/lib/ttTimeHelper.class.php index fdb5a3a9..f8eadf25 100644 --- a/WEB-INF/lib/ttTimeHelper.class.php +++ b/WEB-INF/lib/ttTimeHelper.class.php @@ -142,7 +142,7 @@ class ttTimeHelper { // Strip optional h in the end. $value = trim($value, 'h'); if ($user->decimal_mark == ',') - $value = str_replace($value, ',', '.'); + $value = str_replace(',', '.', $value); return (float) $value; }