Commit b5a4909a authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix for broken forum post times

parent 0bb4b47a
...@@ -302,9 +302,10 @@ function get_string_location($identifier, $section, $variables, $replacefunc='fo ...@@ -302,9 +302,10 @@ function get_string_location($identifier, $section, $variables, $replacefunc='fo
$langconfigstrs = array('parentlanguage', 'thislanguage'); $langconfigstrs = array('parentlanguage', 'thislanguage');
if (in_array($identifier, $langconfigstrs) if ($section == 'mahara' &&
|| strpos($identifier, 'strftime') === 0 (in_array($identifier, $langconfigstrs)
|| strpos($identifier, 'strfday') === 0) { || strpos($identifier, 'strftime') === 0
|| strpos($identifier, 'strfday') === 0)) {
$section = 'langconfig'; $section = 'langconfig';
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment