Skip to content
Browse files

Merge branch 'MDL-30460-master' of git://github.com/ankitagarwal/moodle

  • Loading branch information...
2 parents 1ff31a5 + 4021f5f commit 86b3dd264e792f2c5fe693aea25d7a751d9a8017 @nebgor nebgor committed Nov 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/edit_form.php
View
2 mod/wiki/edit_form.php
@@ -70,7 +70,7 @@ protected function definition() {
foreach ($tree['files'] as $file) {
$filename = $file->get_filename();
foreach ($extensions as $ext) {
- if (preg_match('#'.$ext.'$#', $filename)) {
+ if (preg_match('#'.$ext.'$#i', $filename)) {
$files[] = $filename;
}
}

0 comments on commit 86b3dd2

Please sign in to comment.
Something went wrong with that request. Please try again.