Fixed a notice (not important)

This commit is contained in:
moodler
2006-10-21 15:59:23 +00:00
parent 55a96b2f3e
commit e4173bf72a
+1 -1
View File
@@ -263,7 +263,7 @@
$item->description = format_text($rec->postmessage,$rec->postformat,$formatoptions,$forum->course);
$post_file_area_name = str_replace('//', '/', "$forum->course/$CFG->moddata/$rec->course/forum/$forum->id/$rec->postid");
$post_file_area_name = str_replace('//', '/', "$forum->course/$CFG->moddata/forum/$forum->id/$rec->postid");
$post_files = get_directory_list("$CFG->dataroot/$post_file_area_name");
if (!empty($post_files)) {