MDL-31428 forum: prevent some warnings with debug enabled

This commit is contained in:
Eloy Lafuente (stronk7)
2012-01-31 00:22:32 +01:00
parent 216f6d8e9d
commit ecabd5b039
+1
View 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);