From 06622f92fcbf7a799c24c3451d5ef2f10e0b7f6c Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 4 Jul 2006 06:05:25 +0000 Subject: [PATCH] fixed $site->id warning; merged from MOODLE_16_STABLE --- blog/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/index.php b/blog/index.php index ebae25a4a3..d4dc1eaba2 100755 --- a/blog/index.php +++ b/blog/index.php @@ -143,7 +143,7 @@ $blogpage = optional_param('blogpage',0,PARAM_INT); blog_print_html_formatted_entries($userid, $postid, $limit, ($blogpage * $limit) ,$filtertype, $filterselect, $tagid, $tag, $filtertype, $filterselect); -add_to_log($site->id, 'blog', 'view', 'index.php?filtertype='.$filtertype.'&filterselect='.$filterselect.'&postid='.$postid.'&tagid='.$tagid.'&tag='.$tag, 'view blog entry'); +add_to_log($courseid, 'blog', 'view', 'index.php?filtertype='.$filtertype.'&filterselect='.$filterselect.'&postid='.$postid.'&tagid='.$tagid.'&tag='.$tag, 'view blog entry'); include($CFG->dirroot .'/blog/footer.php'); -- 2.39.5