From: <sy...@us...> - 2008-10-24 17:23:14
|
Revision: 15290 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=15290&view=rev Author: sylvieg Date: 2008-10-24 17:23:04 +0000 (Fri, 24 Oct 2008) Log Message: ----------- [FIX]search: to be able to return more than one matching file in a fgal when checking object perms on mysql search Modified Paths: -------------- trunk/lib/searchlib.php Modified: trunk/lib/searchlib.php =================================================================== --- trunk/lib/searchlib.php 2008-10-24 15:52:48 UTC (rev 15289) +++ trunk/lib/searchlib.php 2008-10-24 17:23:04 UTC (rev 15290) @@ -468,6 +468,7 @@ 'permName' => 'tiki_p_download_files', 'objectType' => 'file gallery', 'objectKey' => 'f.`galleryId`', + 'objectKeyGroup' => 'f.`fileId`', 'parentJoin' => 'LEFT JOIN `tiki_file_galleries` tfg ON tfg.`galleryId` = f.`galleryId`', ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |