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

Home » FUDforum Development » Bug Reports » Bugs in 1.1.9-dev (from CVS @ 8:30am Feb 12)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Bugs in 1.1.9-dev (from CVS @ 8:30am Feb 12) [message #454 is a reply to message #453] Wed, 13 February 2002 02:53 Go to previous messageGo to previous message
ironstorm is currently offline  ironstorm   Canada
Messages: 89
Registered: February 2002
Location: Toronto, Ontario, Canada
Karma:
Member

ironstorm wrote on Tue, 12 February 2002 9:52 PM

Quote:

function add($owner, $message_id, $original_name, $cur_location, $private='')
{
$proto = proto($cur_location);

Q("INSERT INTO fud_attach (proto, location, original_name, message_id, owner, private)
VALUES('$proto', 'none://unset', '$original_name', ".INTZERO($message_id).", INTZERO($owner), '".YN($private)."')");
$id = DB_LASTID();
$this->message_id=$message_id;
if ( $proto == 'LOCAL' ) {
$loc = safe_attachment_copy($cur_location, $id);
}


Got an extra " in your SQL in attach.inc


Or rather perhaps one too few...

don't know... the quotes look messed up for the whole line.

[Updated on: Wed, 13 February 2002 02:54]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Comments on installing FUD 1.1.1 on Win2K
Next Topic: Need Help - pro i did the consistancy check and i have an error
Goto Forum:
  

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

Current Time: Thu Dec 12 18:43:17 GMT 2024

Total time taken to generate the page: 0.04777 seconds