Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…odle into MOODLE_24_STABLE
  • Loading branch information...
commit ff28c81cb6d93e001c036e5e82a20a1448e3f786 2 parents 494c554 + 586fff6
@damyon damyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  blog/lib.php
View
2  blog/lib.php
@@ -601,7 +601,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));
Please sign in to comment.
Something went wrong with that request. Please try again.