FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » fud_delete_user() produces SQL error?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: fud_delete_user() produces SQL error? [message #35512 is a reply to message #35482] Wed, 17 January 2007 19:29 Go to previous messageGo to previous message
maarten is currently offline  maarten   United States
Messages: 7
Registered: January 2007
Karma:
Junior Member
Correct me if you made changes other than this:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=11723

The above fix doesn't quite do it. _fud_simple_fetch_query returns type Object, which the else wraps in an array, and then your fix takes the array back off and passes in the object, which usr_delete still chokes on.

It does work if you change your current code to:
	foreach ($data as $v) {
		usr_delete($v->id);		
	}


But you may not want to get an Object back in the first place?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: FUDforum and valid HTML
Next Topic: getting the GLOBALS needed for fudapi
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 16:26:48 GMT 2024

Total time taken to generate the page: 0.03966 seconds