summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--search.php2
1 files changed, 1 insertions, 1 deletions
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;
}