From 282fd2b21a14fd613b6fa6a6244256eef0afa12f Mon Sep 17 00:00:00 2001 From: dongsheng Date: Tue, 10 Jun 2008 05:17:49 +0000 Subject: [PATCH] "MDL-12304, fix double text, merged from MOODLE_18_STABLE" --- mod/chat/gui_header_js/jsupdate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/chat/gui_header_js/jsupdate.php b/mod/chat/gui_header_js/jsupdate.php index b9616fcfaa..5c39d2e184 100644 --- a/mod/chat/gui_header_js/jsupdate.php +++ b/mod/chat/gui_header_js/jsupdate.php @@ -124,8 +124,8 @@ $DB->set_field('chat_users', 'lastping', $chatuser->lastping, array('id'=>$chatuser->id)); if ($refreshusers) { - echo "if (parent.users.document.anchors[0] != null) {" . - "parent.users.location.href = parent.users.document.anchors[0].href;}\n"; + echo "if (parent.users.document.anchors[1] != null) {" . + "parent.users.location.href = parent.users.document.anchors[1].href;}\n"; } else { foreach($us as $uid=>$lastping) { $min = (int) ($lastping/60); -- 2.39.5