From: Matthias Schmidt Date: Fri, 8 May 2015 16:21:00 +0000 (+0200) Subject: Use case-insensitive comparision for ACP search results X-Git-Tag: 2.1.4~28 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=883db9fca7fd3e5228a13da4abd2b64678a3eeaf;p=GitHub%2FWoltLab%2FWCF.git Use case-insensitive comparision for ACP search results --- diff --git a/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php b/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php index a4c322bbd3..c08e264a40 100644 --- a/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php +++ b/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php @@ -47,7 +47,7 @@ class ACPSearchProviderAction extends AbstractDatabaseObjectAction implements IS foreach ($items as $key => &$item) { $double = false; foreach ($items as $key2 => $item2) { - if ($key != $key2 && $item['title'] == $item2['title']) { + if ($key != $key2 && !strcasecmp($item['title'], $item2['title'])) { $double = true; break; }