You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A client complained after an upgrade to Elgg 1.7.x that group forum topics and posts were mis-formatted in the river.
This turned out to be caused by an annotation id of 0 in the river table. For new content, the river displays an excerpt of the annotation before the friendly time. But for older content, the annotation id is 0 and the annotation is blank. However, the river_content_display div is generated anyway, mysteriously forcing the friendly time to a new line even if it would have fit in the line above.
Original ticket http://trac.elgg.org/ticket/2498 on 40748569-10-18 by trac user kevinjardine, assigned to unknown.
Elgg version: 1.7
A client complained after an upgrade to Elgg 1.7.x that group forum topics and posts were mis-formatted in the river.
This turned out to be caused by an annotation id of 0 in the river table. For new content, the river displays an excerpt of the annotation before the friendly time. But for older content, the annotation id is 0 and the annotation is blank. However, the river_content_display div is generated anyway, mysteriously forcing the friendly time to a new line even if it would have fit in the line above.
I have fixed this by changing the code in
views/default/river/forum/create.php
to
In other words, I only generate the div if there is something to display.
The text was updated successfully, but these errors were encountered: