Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-30165: Make repository file extension check case insensitive

  • Loading branch information...
commit 8c10f16d343d0d1d2445f6c4c3dac59685d30c93 1 parent ad4ac9d
@andrewnicols andrewnicols authored stronk7 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  repository/lib.php
View
2  repository/lib.php
@@ -1545,7 +1545,7 @@ public function filter(&$value) {
$pass = true;
} else {
foreach ($extensions as $ext) {
- if (preg_match('#'.$ext.'$#', $value['title'])) {
+ if (preg_match('#'.$ext.'$#i', $value['title'])) {
$pass = true;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.