Fetch Array and Magic Quotes
Posted: 07 Aug 2014, 19:28
MantisBT Version 1.2.15
Schema Version 183
This may have been fixed in the current version of Mantis, but one of my calls to db_fetch_array() produces this error:
Function set_magic_quotes_runtime() is deprecated
This was a function to escape any quotes coming from any kind of data retrieval, including database queries. It's a toggle; you turn the quote escaping on or off with it. There appears to be 7 calls to set_magic_quotes_runtime() in Mantis 1.2.15. Have these been removed / commented out in the current version? Is there a workaround to keep the fetch array function from calling the magic quotes function? I don't know why this only happens on one call; I use it elsewhere without issue.
Schema Version 183
This may have been fixed in the current version of Mantis, but one of my calls to db_fetch_array() produces this error:
Function set_magic_quotes_runtime() is deprecated
This was a function to escape any quotes coming from any kind of data retrieval, including database queries. It's a toggle; you turn the quote escaping on or off with it. There appears to be 7 calls to set_magic_quotes_runtime() in Mantis 1.2.15. Have these been removed / commented out in the current version? Is there a workaround to keep the fetch array function from calling the magic quotes function? I don't know why this only happens on one call; I use it elsewhere without issue.