From d8e761eed2e1fdf9bae8c9c4e15a722cd9411f02 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Fri, 4 Sep 2009 09:50:46 +0000 Subject: [PATCH] "MDL-14651, fixed typo and set page type as form" --- mod/chat/gui_basic/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/chat/gui_basic/index.php b/mod/chat/gui_basic/index.php index 65a18cf65e..00957d0331 100644 --- a/mod/chat/gui_basic/index.php +++ b/mod/chat/gui_basic/index.php @@ -25,6 +25,7 @@ $context = get_context_instance(CONTEXT_MODULE, $cm->id); require_login($course->id, false, $cm); require_capability('mod/chat:chat',$context); + $PAGE->set_generaltype('form'); /// Check to see if groups are being used here if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used @@ -103,7 +104,7 @@ echo '
  • '; $userpic = moodle_user_picture::make($chu->id, $course->id); $userpic->size = 24; - echo $OUTPUT->user_picture($userpic) + echo $OUTPUT->user_picture($userpic); echo '
    '; echo fullname($chu).' '; if ($idle = time() - $chu->lastmessageping) { -- 2.39.5