mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
MDL-11770, broken userid in add_to_log
This commit is contained in:
parent
cccd44e2b7
commit
f23aee73d0
@ -297,7 +297,7 @@ function do_edit($post, $blogeditform) {
|
||||
// add them back
|
||||
add_tags_info($post->id);
|
||||
|
||||
add_to_log(SITEID, 'blog', 'update', 'index.php?userid='.$post->userid.'&postid='.$post->id, $post->subject);
|
||||
add_to_log(SITEID, 'blog', 'update', 'index.php?userid='.$USER->id.'&postid='.$post->id, $post->subject);
|
||||
|
||||
} else {
|
||||
error('There was an error updating this post in the database', $returnurl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user