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:
80db8e8
)
"MDL-19118 fixed a context id"
author
Dongsheng Cai
<unoter@gmail.com>
Mon, 17 May 2010 03:20:05 +0000
(
03:20
+0000)
committer
Dongsheng Cai
<unoter@gmail.com>
Mon, 17 May 2010 03:20:05 +0000
(
03:20
+0000)
blocks/comments/block_comments.php
patch
|
blob
|
blame
|
history
diff --git
a/blocks/comments/block_comments.php
b/blocks/comments/block_comments.php
index
964ec88
..
7cf3c93
100644
(file)
--- a/
blocks/comments/block_comments.php
+++ b/
blocks/comments/block_comments.php
@@
-39,7
+39,7
@@
class block_comments extends block_base {
$this->content->footer = '';
$this->content->text = '';
if (isloggedin() && !isguestuser()) {
- list($context, $course, $cm) = get_context_info_array($
this
->context->id);
+ list($context, $course, $cm) = get_context_info_array($
PAGE
->context->id);
$args = new stdclass;
$args->context = $PAGE->context;
$args->course = $course;