Active
Project:
Coherent Access
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 13:29 UTC
Updated:
20 Aug 2010 at 19:03 UTC
on several places in the module there is the following code:
implode(',', array_fill(0, count($gids), '%d'))
the correct way to implode the $gids is the following one:
implode(',', $gids)
Comments
Comment #1
MGN commentedIt looks like this code was written before the db_placeholders api function was developed.
I think the correct approach would be to use the api function :
db_placeholders($gids, 'int').IMHO This certainly is not a critical bug report - more of a coding preference.