summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fb.theme.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/fb.theme.inc b/fb.theme.inc
index 84eb2f5..cd03da3 100644
--- a/fb.theme.inc
+++ b/fb.theme.inc
@@ -56,6 +56,10 @@ function theme_fb_user_picture($fbu, $object, $orig) {
if (!$fbu)
return $orig;
+ $fbu = $params['fbu'];
+ $object = $params['account'];
+ $orig = $params['orig'];
+
// http://developers.facebook.com/docs/reference/fbml/profile-pic
$fbml = "<fb:profile-pic linked=false uid=\"$fbu\"></fb:profile-pic>";
$wrap_pre = '<span class=fb_hide>' . $orig . '</span><span class="fb_show" style="display:none;"><div class="picture">';