diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index 44640c450c2..d3f8fd77e76 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -71,7 +71,7 @@ function print_footer ($course=NULL) {
if ($course) {
if ($course == "home") { // special case for site home page - please do not remove
$homelink = "
release ($CFG->version)\" HREF=\"http://moodle.com/\">";
- $homelink .= "
";
+ $homelink .= "
";
} else {
$homelink = "wwwroot/course/view.php?id=$course->id\">$course->shortname";
}
diff --git a/lib/weblib.php b/lib/weblib.php
index f65789a20a3..129e164becf 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -145,7 +145,7 @@ function qualified_me() {
function match_referer($good_referer = "") {
/// returns true if the referer is the same as the good_referer. If
-/// good_refer is not specified, use qualified_me as the good_referer
+/// good_referer is not specified, use qualified_me as the good_referer
if ($good_referer == "") {
$good_referer = qualified_me();