X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/0098044d9aa84b16c0a2fc6a028844b078a21ca0..4da474b3fee7606ff8ce81b9e9c9d1fe82a82bdc:/WEB-INF/lib/ttGroupHelper.class.php diff --git a/WEB-INF/lib/ttGroupHelper.class.php b/WEB-INF/lib/ttGroupHelper.class.php index 44dc3e1b..128650c6 100644 --- a/WEB-INF/lib/ttGroupHelper.class.php +++ b/WEB-INF/lib/ttGroupHelper.class.php @@ -36,7 +36,7 @@ class ttGroupHelper { $mdb2 = getConnection(); $sql = "select id, name, created, lang from tt_groups". - " where status = 1 and (org_id is NULL or org_id = id) order by id desc"; + " where status = 1 and org_id = id order by id desc"; $res = $mdb2->query($sql); $result = array(); if (!is_a($res, 'PEAR_Error')) {