"MDL-12304, fix double text, merged from MOODLE_18_STABLE"

This commit is contained in:
dongsheng
2008-06-10 05:17:49 +00:00
parent c8c77ed84e
commit 282fd2b21a
+2 -2
View File
@@ -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);