diff --git a/mod/dialogue/dialogues.php b/mod/dialogue/dialogues.php
index 9bba7443bfd..65576be057a 100644
--- a/mod/dialogue/dialogues.php
+++ b/mod/dialogue/dialogues.php
@@ -268,9 +268,9 @@
/****************** print dialogue (allowing new entry)********************/
elseif ($action == 'printdialogue') {
- if (!$conversation = get_record("dialogue_conversations", "id", $_GET['cid'])) {
- error("Print Dialogue: can not get conversation record");
- }
+ // if (!$conversation = get_record("dialogue_conversations", "id", $_GET['cid'])) {
+ // error("Print Dialogue: can not get conversation record");
+ // }
print_simple_box( text_to_html($dialogue->intro) , "center");
echo "
";
diff --git a/mod/dialogue/locallib.php b/mod/dialogue/locallib.php
index 599421e2175..d48f43a011d 100644
--- a/mod/dialogue/locallib.php
+++ b/mod/dialogue/locallib.php
@@ -455,8 +455,8 @@ function dialogue_list_conversations_self($dialogue) {
error("User not found");
}
}
- // print_user_picture($user->id, $course->id, $user->picture);
- echo "".get_string("dialoguewith", "dialogue", fullname($otheruser)).
+ $picture = print_user_picture($otheruser->id, $course->id, $otheruser->picture, false, true);
+ echo $picture." ".get_string("dialoguewith", "dialogue", fullname($otheruser)).
"";
echo "