Closed mrclay closed 12 years ago
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.
You can ditch this if you want. The $vars['entity'] was injected via a view extension on our side.
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.