Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…into MOODLE_21_STABLE
  • Loading branch information...
commit 28f8069eb5ea76f11576e31c806cb4fd46e10e7f 2 parents 50ce778 + ddd07da
@nebgor nebgor authored
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;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.