-
-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #1774 #2624
Fixes #1774 #2624
Conversation
@mybb/sqa can someone take a look at this? Thanks. |
Tested. Working fine. |
if(strpos($quoted_post['username'], '"') !== false) | ||
{ | ||
$quote_char = "'"; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one styling thing, wouldn't be better to add a newline after this bracket?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem. I'll add it after work today.
@Shade- that should have this ready to merge. |
Fixes #1774 where single quotes were used to quote the user name without checking
to see if the user name contains single quotes. If it does, this causes
the quote MyCode to fail.