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
Comment #1
q0rban commentedThanks Alexis. Good catch!
Comment #2
AlexisWilke commentedq0rban,
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
Comment #3
q0rban commentedThanks 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.
Comment #4
AlexisWilke commentedThat could very well be. I also have a separate SVN repository for my projects... and that happens too! 8-)
Comment #5
q0rban commentedThanks, committed: http://drupal.org/cvs?commit=385352
Comment #6
q0rban commented