--- a/branches/2.6/cgi-bin/yabb2/Templates/default/MyProfile.template
+++ b/branches/2.6/cgi-bin/yabb2/Templates/default/MyProfile.template
@@ -11,7 +11,7 @@
 # Software by:  The YaBB Development Team                                     #
 #               with assistance from the YaBB community.                      #
 ###############################################################################
-# $Revision: 1416 $
+# $Revision: 1422 $
 
 $my_bdaycake = 'bdaycake.png';
 $my_aim = 'aim.gif';
@@ -329,7 +329,7 @@
                     } else {
                         document.creator.userpic.options[0].selected = true;
                         source = document.getElementsByName('userpicpersonal')[0].value;
-                        if (!source || source == 'http{yabb av_s://') source = "facesurl/$my_blank_avatar";
+                        if (!source || source == 'http{yabb av_s://') source = "$facesurl/$my_blank_avatar";
                     }
                     document.images.icons.style.display = 'none';
                     document.images.icons.width = '';