Skip to content
Snippets Groups Projects
Commit b65e9a5c authored by jdelhome3578's avatar jdelhome3578 Committed by Jared Hancock
Browse files

topic: Sort list case insensitively

Fixes #2350 in `develop`
parent 19292ad2
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ foreach ($topics as &$t)
$t['name'] = Topic::getTopicName($t['topic_id']);
if ($cfg->getTopicSortMode() == 'a')
usort($topics, function($a, $b) { return strcmp($a['name'], $b['name']); });
usort($topics, function($a, $b) { return strcasecmp($a['name'], $b['name']); });
?>
<div class="pull-left" style="width:700px;padding-top:5px;">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment