Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27bad0a
)
blog MDL-22161 Fixed minor regression
author
Sam Hemelryk
<sam@moodle.com>
Fri, 23 Apr 2010 04:08:28 +0000
(
04:08
+0000)
committer
Sam Hemelryk
<sam@moodle.com>
Fri, 23 Apr 2010 04:08:28 +0000
(
04:08
+0000)
blog/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/blog/lib.php
b/blog/lib.php
index
e7203ec
..
5ce5f66
100755
(executable)
--- a/
blog/lib.php
+++ b/
blog/lib.php
@@
-439,7
+439,7
@@
function blog_get_options_for_course(stdClass $course, stdClass $user=null) {
}
// Serve from the cache if we've already generated for this course
if (array_key_exists($key, $courseoptions)) {
- return $courseoptions[$
course->id
];
+ return $courseoptions[$
key
];
}
if (has_capability('moodle/blog:view', get_context_instance(CONTEXT_COURSE, $course->id))) {