Closed (won't fix)
Project:
Drupal for Facebook
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2008 at 08:22 UTC
Updated:
17 Jan 2012 at 12:57 UTC
$profile_main is used but never created. I believe there is a missing call to token_replace as is done with $body.
Sorry for the short message... In a hurry.
Comments
Comment #1
Dave Cohen commentedI don't see this in my copy. Can you explain further?
Comment #2
NigelC commentedHi Dave,
Sorry about the delay.
$body = token_replace($values['body'], 'fb_app', $fb_app);
$body = check_markup($body, $values['body_filter'], FALSE);
if ($profile_main)
$profile_main = check_markup($profile_main, $values['body_filter'], FALSE);
I am not sure where you expected $profile_main to be created but I added this line:
$profile_main = token_replace($values['profile_main'], 'fb_app', $fb_app);
I am also thinking about changing the if to if $values['profile_main'], but i haven't yet checked to see if it works as is.
Nigel
Comment #3
Letharion commentedSince Drupal 5 is no longer supported, I'm taking the liberty to close all FB D5 issues. Issues that haven't moved since D5 are unlikely to still be valid.