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.
Fetch Array and Magic Quotes
Moderators: Developer, Contributor
Re: Fetch Array and Magic Quotes
We updated some of the underlying 3rd party libraries since 1.2.15.
There where some changes with PHP versions >= 5.3.0 where set_magic_quotes_runtime is not longer called.
There where some changes with PHP versions >= 5.3.0 where set_magic_quotes_runtime is not longer called.
-
- Posts: 20
- Joined: 19 May 2014, 19:46
Re: Fetch Array and Magic Quotes
Thanks. I was kinda hoping that would be the case. I am aware of magic_quotes being deprecated and later removed. (It is deprecated in our version.) Now we just have to concern ourselves with upgrading Mantis.