mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:55:55 +00:00
make sure magic quote workaround actually works
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
/* remove ill effects of magic quotes */
|
/* remove ill effects of magic quotes */
|
||||||
|
|
||||||
if (!get_magic_quotes_gpc()) {
|
if (get_magic_quotes_gpc()) {
|
||||||
function stripslashes_deep($value) {
|
function stripslashes_deep($value) {
|
||||||
$value = is_array($value) ?
|
$value = is_array($value) ?
|
||||||
array_map('stripslashes_deep', $value) : stripslashes($value);
|
array_map('stripslashes_deep', $value) : stripslashes($value);
|
||||||
|
|||||||
Reference in New Issue
Block a user