Fixed Wrong use of quote in getUsersByIds

It somewhat surprises me that this would have so much of an impact.

We have some huge galleries running this and have had no similar reports over the years.

There are a few places it crops up. Easiest way to find them is search for usages of the getUsersByIds function in the Gallery and replace the $userIds argument (or whatever it might be called) with:
PHP:
array_map('intval', $userIds)
The exact fix might be different and it likely doesn't apply or isn't so significant in some places.
 
Top Bottom