From bb0fbbf86be8165b50843b1324f335d8891bbce2 Mon Sep 17 00:00:00 2001 From: jdelhome3578 <jdelaney@tallmadge-ohio.org> Date: Fri, 28 Aug 2015 11:25:00 -0400 Subject: [PATCH] topic: Sort list case insensitively include @greezybacon suggestion on fix --- include/class.topic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.topic.php b/include/class.topic.php index a59d36610..6dc368f4a 100644 --- a/include/class.topic.php +++ b/include/class.topic.php @@ -415,7 +415,7 @@ class Topic { if (!($names = static::getHelpTopics(false, true))) return; - uasort($names, function($a, $b) { return strcmp($a, $b); }); + uasort($names, function($a, $b) { return strcasecmp($a, $b); }); $update = array_keys($names); foreach ($update as $idx=>&$id) { -- GitLab