phpbb/phpbb — pull request #3144 by marc1706 (2014-11-13 21:53:18+00:00)
Title: [ticket/13337] Do not use SQL IN comparison with empty array

is_array() will evaluate to true even if the array is just an empty array.
Make sure we don't append anything to the sql query if the $item_parent_id
variable is an empty array.

PHPBB3-13337