Skip to content

[FIX] activity stream was not showing 'no activity to display' message when there are no activities

I think the reason why it wouldn't show the message that was in the {foreachelse} block is because {$results} is an object and not an array. And so Smarty took it as non-empty and thus not qualify for foreachelse. That is my theory anyway as I can't think of why it wasn't working before. I also took the chance to remove that error message from the

    as I think since it's an error message it should be not in a list.

Merge request reports