Permalink
Browse files

Merge branch 'wip-MDL-27676-MOODLE_20_STABLE' of git://github.com/sam…

…hemelryk/moodle into MOODLE_20_STABLE
  • Loading branch information...
2 parents bca840b + 98d17b5 commit f872b32778abc6af36c0c285c9e91a362d02a975 @stronk7 stronk7 committed Jun 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 pluginfile.php
View
@@ -305,7 +305,7 @@
}
if (!$file = $fs->get_file($context->id, 'user', 'icon', 0, '/', $filename.'/.png')) {
if (!$file = $fs->get_file($context->id, 'user', 'icon', 0, '/', $filename.'/.jpg')) {
- redirect($OUTPUT->pix_url('u/f1'));
+ redirect($OUTPUT->pix_url('u/'.$filename));
}
}

0 comments on commit f872b32

Please sign in to comment.