From 33431d562ef7cc43834c65a66ba9365370c9a968 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 5 Dec 2015 20:45:21 +0000 Subject: Use a case insensitive search --- search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'search.php') diff --git a/search.php b/search.php index 84238c4..c2845f7 100644 --- a/search.php +++ b/search.php @@ -64,7 +64,7 @@ try { foreach ($output as $upload) { $match = false; foreach ($args as $arg) { - if (!is_null($arg) && strpos($upload->filename, $arg) === false) { + if (!is_null($arg) && stripos($upload->filename, $arg) === false) { $match = false; break; } -- cgit v1.2.3