diff --git a/user/view.php b/user/view.php index bd915d1e455..b0b2741fcfd 100644 --- a/user/view.php +++ b/user/view.php @@ -288,7 +288,7 @@ } $emailswitch = " id&course=$course->id&$switchparam=1\">". - "old_icon_url('$switchpix') . "\" alt=\"$switchclick\" />"; + "old_icon_url("$switchpix") . "\" alt=\"$switchclick\" />"; } else if ($currentuser) { /// Can only re-enable an email this way if ($user->emailstop) { // Include link that tells how to re-enable their email