mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Corrected variable reference - was causing problems with SQL inserts/updates.
This commit is contained in:
parent
c9095ae670
commit
976982d3e2
@ -224,8 +224,8 @@ function do_save(&$post, &$bloginfo_arg) {
|
||||
|
||||
$tag = NULL;
|
||||
$tag->entryid = $entryID;
|
||||
$tag->groupid = $groupid;
|
||||
$tag->courseid = $courseid;
|
||||
$tag->groupid = $post->groupid;
|
||||
$tag->courseid = $post->courseid;
|
||||
$tag->userid = $USER->id;
|
||||
$tag->timemodified = time();
|
||||
|
||||
@ -279,8 +279,8 @@ function do_update(&$post, &$bloginfo) {
|
||||
|
||||
$tag = NULL;
|
||||
$tag->entryid = $blogentry->entryId;
|
||||
$tag->groupid = $groupid;
|
||||
$tag->courseid = $courseid;
|
||||
$tag->groupid = $post->groupid;
|
||||
$tag->courseid = $post->courseid;
|
||||
$tag->userid = $USER->id;
|
||||
$tag->timemodified = time();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user