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
{{ message }}
Repository navigation
Forum reply form: undefined $df/$tf when showing the original message #429
Found on the dev-6.0.0 branch (local, at 9bd3a1e0) during the lib/ cleanup. It may be on master too: the same code is there.
modules/forums/post_message.php L134 formats the original post's date with $df . ' ' . $tf, but neither variable is set in that file. Every reply page logs two "Undefined variable" warnings, and the date is formatted with an empty format.
Fix: set $df = $AppUI->getPref('SHDATEFORMAT'); $tf = $AppUI->getPref('TIMEFORMAT'); near the top, as the other forum views do.
Activity
Forum reply form: define $df/$tf and show the message being replied to