]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19690 - fix mailyes|no icon
authorstronk7 <stronk7>
Mon, 10 Aug 2009 08:24:28 +0000 (08:24 +0000)
committerstronk7 <stronk7>
Mon, 10 Aug 2009 08:24:28 +0000 (08:24 +0000)
user/view.php

index bd915d1e4551cb8b756cc682eac0c34d52419b89..b0b2741fcfdda74e5ab640eb43b008db7a41748d 100644 (file)
             }
             $emailswitch = "&nbsp;<a title=\"$switchclick\" ".
                            "href=\"view.php?id=$user->id&amp;course=$course->id&amp;$switchparam=1\">".
-                           "<img src=\"" . $OUTPUT->old_icon_url('$switchpix') . "\" alt=\"$switchclick\" /></a>";
+                           "<img src=\"" . $OUTPUT->old_icon_url("$switchpix") . "\" alt=\"$switchclick\" /></a>";
 
         } else if ($currentuser) {         /// Can only re-enable an email this way
             if ($user->emailstop) {   // Include link that tells how to re-enable their email