$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

Dave Cohen’s picture

Status: Active » Postponed (maintainer needs more info)

I don't see this in my copy. Can you explain further?

NigelC’s picture

Hi 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

Letharion’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Since 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.