From 6694ff841b1e097fe9293447a3e71b76716260f4 Mon Sep 17 00:00:00 2001
From: Rossiani Wijaya <rossianiwijaya@gmail.com>
Date: Thu, 23 Sep 2010 05:50:15 +0000
Subject: [PATCH] MDL-24350: fixed XHTML strict by removing an additional of
 '</div>'

---
 calendar/lib.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calendar/lib.php b/calendar/lib.php
index 15f87b527ff..74051f43925 100644
--- a/calendar/lib.php
+++ b/calendar/lib.php
@@ -715,7 +715,7 @@ function calendar_top_controls($type, $data) {
             $content .= $left.'<span class="hide"> | </span>';
             $content .= html_writer::tag('span', html_writer::link($calendarlink, userdate($time, get_string('strftimemonthyear')), array('title'=>get_string('monththis','calendar'))), array('class'=>'current'));
             $content .= '<span class="hide"> | </span>'. $right;
-            $content .= "<span class=\"clearer\"><!-- --></span></div>\n";
+            $content .= "<span class=\"clearer\"><!-- --></span>\n";
             $content .= html_writer::end_tag('div');
 
             break;