From 5305983d1ea26da9859eb1d4b54cb9a334c4ca6b Mon Sep 17 00:00:00 2001 From: anuko Date: Wed, 14 Sep 2016 22:00:43 +0000 Subject: [PATCH] Fixed rate presentation. --- WEB-INF/lib/ttProjectHelper.class.php | 1 + WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WEB-INF/lib/ttProjectHelper.class.php b/WEB-INF/lib/ttProjectHelper.class.php index 19e01d35..0a97de22 100644 --- a/WEB-INF/lib/ttProjectHelper.class.php +++ b/WEB-INF/lib/ttProjectHelper.class.php @@ -67,6 +67,7 @@ class ttProjectHelper { $res = $mdb2->query($sql); if (!is_a($res, 'PEAR_Error')) { while ($val = $res->fetchRow()) { + $val['rate'] = str_replace('.', $user->decimal_mark, $val['rate']); $result[] = $val; } } diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 3bb9d415..d38b50a0 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.9.31.3535 | Copyright © Anuko | +  Anuko Time Tracker 1.9.31.3536 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1