Hi guys,

The tooltip function goes like this:

function follow_link_tooltip($title, $variables) {
  // No need to run through t() since both of these already have.
  return follow_link_title($link->uid) .' '. $title;
}

As you may notice, $link is not defined. Did you mean to use $user->uid or just 0 (at this time NULL is being passed.)

Thank you.
Alexis

Comments

q0rban’s picture

Title: follow_link_title() called with a invalid value... » follow_link_title needs to extract $link from $variables

Thanks Alexis. Good catch!

AlexisWilke’s picture

q0rban,

You may want to consider using E_ALL when you write code. That way you'd catch some of those bugs while working on your code.

#761780: Plenty of E_ALL notices in modules developed on installation with Drupal tarball

Thank you.
Alexis

q0rban’s picture

Thanks Alexis, I always have E_ALL set, I think I just missed a commit back to CVS, as we're using follow 6.x-1.x-dev on lullabot.com without this bug.

AlexisWilke’s picture

That could very well be. I also have a separate SVN repository for my projects... and that happens too! 8-)

q0rban’s picture

q0rban’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.