Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 (not a bug) in inc_func_posting.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aaron S.
Average Member

USA
985 Posts

Posted - 19 August 2002 :  23:31:45  Show Profile  Visit Aaron S.'s Homepage
I think this is a bug... on line 396 is shows:

fString = Replace(fString, "'", "'")

Should it be:

fString = Replace(fString, "'", "''")

--Aaron

DOWNLOAD GREAT NEW MODS HERE

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 August 2002 :  23:38:54  Show Profile
why would you think it's a bug? Did you receive an error from that line?

that line was included for a specific reason (might not be needed anymore though), I just can't find the post that discussed it.

It's been in the code since at least v3.1sr4, probably earlier.
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 19 August 2002 :  23:40:04  Show Profile  Visit Aaron S.'s Homepage
It didn't give me an error, just seemed odd replacing a single quote with a single quote.

--Aaron


DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 19 August 2002 :  23:40:26  Show Profile  Visit Nathan's Homepage
But that wont do anything except use CPU cycles. . .

Nathan Bales
CoreBoard | Active Users Download
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 19 August 2002 :  23:43:16  Show Profile  Visit Aaron S.'s Homepage
I thought it was supposed to be two single quotes... I wasn't sure so that is why I added a "?" in the subject line.

--Aaron

DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 August 2002 :  23:52:30  Show Profile
we've been asked about it before, so don't worry about it. As I said, I don't remember the exact reason it was added, but I do know it was added to fix something (not really sure how it would though).
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 19 August 2002 :  23:54:00  Show Profile  Visit Aaron S.'s Homepage
Feel free to "(not a bug)" me...

--Aaron

DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 20 August 2002 :  00:26:39  Show Profile  Visit Nathan's Homepage
Check out this topic : http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=17413&SearchTerms=fString,=,Replace(fString,,"'",,"'")

Supposedly its not needed anymore.

Nathan Bales
CoreBoard | Active Users Download
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07