From 566bd317d329af1fe9935edfcefafee7f07ebc2b Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Mon, 5 Nov 2018 22:18:37 +0000 Subject: [PATCH] Fixed import and export of role descriptions. --- WEB-INF/lib/ttExportHelper.class.php | 1 + WEB-INF/lib/ttImportHelper.class.php | 1 + WEB-INF/templates/footer.tpl | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WEB-INF/lib/ttExportHelper.class.php b/WEB-INF/lib/ttExportHelper.class.php index c5e7802d..310af913 100644 --- a/WEB-INF/lib/ttExportHelper.class.php +++ b/WEB-INF/lib/ttExportHelper.class.php @@ -120,6 +120,7 @@ class ttExportHelper { fwrite($file, " roleMap[$role['id']]."\" rank=\"".$role['rank']."\"". " rights=\"".$role['rights']."\" status=\"".$role['status']."\">\n"); fwrite($file, " \n"); + fwrite($file, " \n"); fwrite($file, " \n"); } fwrite($file, "\n"); diff --git a/WEB-INF/lib/ttImportHelper.class.php b/WEB-INF/lib/ttImportHelper.class.php index e250a4fc..8c6fd0c0 100644 --- a/WEB-INF/lib/ttImportHelper.class.php +++ b/WEB-INF/lib/ttImportHelper.class.php @@ -154,6 +154,7 @@ class ttImportHelper { 'group_id' => $this->group_id, 'org_id' => $this->org_id, 'name' => $role_item['NAME'], + 'description' => $role_item['DESCRIPTION'], 'rank' => $role_item['RANK'], 'rights' => $role_item['RIGHTS'], 'status' => $role_item['STATUS'])); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 6430f8a6..bd83dd66 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.08.4372 | Copyright © Anuko | +  Anuko Time Tracker 1.18.08.4373 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.39.5