![]() |
Quote:
Your Profile says 3.5.2 ! |
Quote:
|
Quote:
|
Ah, the one in the global - that one could just be removed.
|
Sigh, I've created too many quizzes to just delete this, but I desperately need a fix to this apostrophe issue for 3.5.
Willing to pay to have someone fix this, PM me. |
my code is so totally different that I can't begin to tell you what line or even what function to look for. But, to fix your apostrophe problems, all you have to do is use trim and addslashes on any text input that's going to be put in the database. Find where the quiz name or title variable is. Before it goes into the database, do something like this (appropriate variables of course)
Code:
$title = $trim(addslashesa($title)); |
Quote:
Code:
$title = trim(addslashes($title)); |
Looks like there is a lot of bug fixes to implement. Damn! >_<
|
Quote:
Code:
$to = $DB->query_first("select username, userid from ".TABLE_PREFIX."user where userid='{$to}'"); |
You missed a ) at the end of the title line:
$DataManager_PM->set('title', $title = trim(addslashes($title))); |
All times are GMT. The time now is 01:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|