Permalink
Browse files

Merge branch 'wip-MDL-34713-stable23' of git://github.com/phalacee/mo…

…odle into MOODLE_23_STABLE
  • Loading branch information...
2 parents 888b6ee + 3ec12a2 commit 97846ce94c7f3bb74c63f83818c8311daea264ff @damyon damyon committed Mar 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 blog/lib.php
View
2 blog/lib.php
@@ -602,7 +602,7 @@ function blog_get_options_for_module($module, $user=null) {
}
if (array_key_exists($key, $moduleoptions)) {
// Serve from the cache so we don't have to regenerate
- return $moduleoptions[$module->id];
+ return $moduleoptions[$key];
}
$canparticipate = (is_enrolled($modcontext) or is_viewing($modcontext));

0 comments on commit 97846ce

Please sign in to comment.