DiscussionsTable: display error if there is no comment
I've set the discussion layout to table layout. Hence, the list of discussions in categories (
/categories/XYZ), "my discussions" (
/discussions/mine) and tags (
/discussions/tagged/plateau) has a column for the newest comment in the respective discussion. However, there is a problem if there is no comment for a discussion.
For categories, the discussion itself is used and hence it's author with avatar and date is shown. Unfortunately, in "my discussions" and tags, there is a display error: While the date is shown as in the first case, the author is missing and the avatar image is broken (see screenshot).
I'm using the bootstrap theme, but as far as I can see, it doesn't override the table layout. So I would assume that there is a bug in vanilla 2.2. Can someone approve this?