diff options
author | Luke Bratch <luke@bratch.co.uk> | 2015-12-05 20:45:21 +0000 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2015-12-05 20:45:21 +0000 |
commit | 33431d562ef7cc43834c65a66ba9365370c9a968 (patch) | |
tree | 7b9c84c0b26562a7cbb8c896f2b82b4d206bc0ea /search.php | |
parent | 34fa6530c7fa5ac2d319ad530605ad6b03828fbb (diff) |
Use a case insensitive search
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |