[cvs] commit: framework/Share/Share sql.php sql_hierarchical.php
Michael Rubinsky
mike at theupstairsroom.com
Fri Jun 27 15:16:16 UTC 2008
mrubinsk 2008-06-27 11:16:16 EDT
Modified files:
Share/Share sql.php sql_hierarchical.php
Log:
Need to use DISTINCT when both listing and counting shares, otherwise if
a share has more than one entry in a *_shares_users or *_shares_groups table
(as would be the case if you give explicit perms to more than one user/group)
the share will be returned / counted more than once in the results.
Revision Changes Path
1.35 +3 -3 framework/Share/Share/sql.php
1.29 +2 -2 framework/Share/Share/sql_hierarchical.php
Chora Links:
http://cvs.horde.org/diff.php/framework/Share/Share/sql.php?r1=1.34&r2=1.35&ty=u
http://cvs.horde.org/diff.php/framework/Share/Share/sql_hierarchical.php?r1=1.28&r2=1.29&ty=u
More information about the cvs
mailing list