fixed in 2.1.3 (Bugs)
Hi,
oh, thank you for this information!
Today, I found an another problem (at my local installation in a script outside the forum-software). The function:
function do_magic_quotes_gpc_if_not_enabled() { if(!get_magic_quotes_gpc()) { foreach (array('POST', 'GET', 'REQUEST', 'COOKIE') as $gpc) $GLOBALS["_$gpc"] = array_map('recursive_addslashes', $GLOBALS["_$gpc"]); } }
produced a notice called "Undefined index: _REQUEST" and a "Warning: array_map() [function.array-map]: Argument #2 should be an array"
Now, I am using:
function do_magic_quotes_gpc_if_not_enabled() { if(!get_magic_quotes_gpc()) { foreach (array('POST', 'GET', 'REQUEST', 'COOKIE') as $gpc) if (isset($GLOBALS["_$gpc"])) $GLOBALS["_$gpc"] = array_map('recursive_addslashes', $GLOBALS["_$gpc"]); } }
Is it possible, that "REQUEST" is not contained in the global array?
Best regards
Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences