[dev] [cvs] commit: framework/Share/Share sql.php sql_hierarchical.php

Ronan SALMON rsalmon at mbpgroup.com
Fri Oct 24 13:43:51 UTC 2008


The last patches breaks kronolith,nag...

We use ldap groups, so groups are strings like "cn=Domain  
Users,ou=Groups,dc=home,dc=local"

See below a quick fix that works down here.
files: sql.php(674) and sql_hierarchical.php(226) :

- $where .= ' OR (g.group_uid IN (' . implode(',', array_keys($groups)) . ')'
-                    . ' AND (g.perm & ' . $perm .') != 0)';
+ $where .= ' OR (g.group_uid IN ("' . implode("','",  
array_keys($groups)) . '")'
+                    . ' AND (g.perm & ' . $perm .') != 0)';


Hope this helps,
Ronan


More information about the dev mailing list