X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/40263b0f447ad572e5ba029bbaf9e5c47c4329bb..264ed2176f4d55449f4a329d6b85fcb48fd50fb4:/WEB-INF/lib/ttGroupExportHelper.class.php diff --git a/WEB-INF/lib/ttGroupExportHelper.class.php b/WEB-INF/lib/ttGroupExportHelper.class.php index 56533e10..d643ed9d 100644 --- a/WEB-INF/lib/ttGroupExportHelper.class.php +++ b/WEB-INF/lib/ttGroupExportHelper.class.php @@ -102,7 +102,7 @@ class ttGroupExportHelper { $mdb2 = getConnection(); $result = array(); - $sql = "select * from tt_roles where group_id = $this->group_id"; // and org_id = $user->org_id <-- add this when possible + $sql = "select * from tt_roles where group_id = $this->group_id and org_id = $user->org_id"; $res = $mdb2->query($sql); $result = array(); if (!is_a($res, 'PEAR_Error')) {