Merge branch 'MDL-31428' of git://github.com/stronk7/moodle
authorAparup Banerjee <aparup@moodle.com>
Tue, 31 Jan 2012 03:15:26 +0000 (11:15 +0800)
committerAparup Banerjee <aparup@moodle.com>
Tue, 31 Jan 2012 03:15:26 +0000 (11:15 +0800)
mod/forum/subscribe.php

index 6cdc2f1..f722456 100644 (file)
@@ -127,6 +127,7 @@ if (forum_is_forcesubscribed($forum)) {
     redirect($returnto, get_string("everyoneisnowsubscribed", "forum"), 1);
 }
 
+$info = new stdClass();
 $info->name  = fullname($user);
 $info->forum = format_string($forum->name);