kevinjardine/shoutout — pull request #26 by mrclay (2012-05-04 15:52:33+00:00)
Title: Fixed bug where last poll would be auto-attached to each new shoutout po...

For some reason, $vars['entity'] was being passed in as a stdObject with property num_items = 20. I've yet to find where that is coming from, but verifying that the entity is an ElggObject watches out for that.