From 72b46840f490f84fc95fcd2c5288fb33e168d44e Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sun, 11 Mar 2018 17:20:31 +0000 Subject: [PATCH] Fixed user edit. --- WEB-INF/lib/ttRoleHelper.class.php | 2 +- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WEB-INF/lib/ttRoleHelper.class.php b/WEB-INF/lib/ttRoleHelper.class.php index 6a4f33bc..3ed85c3d 100644 --- a/WEB-INF/lib/ttRoleHelper.class.php +++ b/WEB-INF/lib/ttRoleHelper.class.php @@ -141,7 +141,7 @@ class ttRoleHelper { if (!is_a($res, 'PEAR_Error')) { $val = $res->fetchRow(); if ($val['id']) - return $val; + return $val['id']; } return false; } diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 775c1214..8c3205e2 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.37.4052 | Copyright © Anuko | +  Anuko Time Tracker 1.17.37.4053 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1