X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttExportHelper.class.php;h=ef13e2ee9cf6e27c75bebaf564918d9ef2777749;hb=7706d5a5ca4aa6f4f093beadbf688d2cccaa4bef;hp=0e1164787dbc6e81685eaf871b4e1de1455d621c;hpb=e3ed046e205a14772a8157def21fea9a14acdde8;p=timetracker.git diff --git a/WEB-INF/lib/ttExportHelper.class.php b/WEB-INF/lib/ttExportHelper.class.php index 0e116478..ef13e2ee 100644 --- a/WEB-INF/lib/ttExportHelper.class.php +++ b/WEB-INF/lib/ttExportHelper.class.php @@ -289,6 +289,18 @@ class ttExportHelper { fwrite($file, "\n"); unset($fav_reports); + // Write roles. + fwrite($file, "\n"); + $roles = ttTeamHelper::getAllRoles($user->team_id); + foreach ($roles as $role) { + fwrite($file, "\t\n"); + fwrite($file, "\t\t\n"); + fwrite($file, "\t\n"); + } + fwrite($file, "\n"); + unset($roles); + // Cleanup. unset($users); $this->userMap = array();