Hi

I get a white screen of dead in my clean install of flag friend:

[Fri Jun 05 10:30:17 2009] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function is_flagged() on a non-object in /webs/neurotic/myweb.com/sites/myweb.com/modules/perfil_usuario/flag_friend/flag_friend.module on line 272

CommentFileSizeAuthor
#2 482786_flag_friend.patch2.2 KBpcambra
#1 flag_friend.patch2.18 KBpcambra

Comments

pcambra’s picture

StatusFileSize
new2.18 KB

I've solved simply checking if the $flag object is set before issuing the query:

pcambra’s picture

StatusFileSize
new2.2 KB

Sorry, I've attached a svn diff patch, this should work

dddave’s picture

Status: Active » Needs review
sirkitree’s picture

Version: 6.x-1.0-beta4 » 6.x-1.x-dev
Status: Needs review » Fixed

Committed to dev. Thanks!
http://drupal.org/cvs?commit=223106

Status: Fixed » Closed (fixed)

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

kenorb’s picture