|
From: MW <jo...@us...> - 2008-02-12 11:00:46
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21757/includes Modified Files: mx_functions_core.php Log Message: ops forgot to update the isset checks in class, sorry my bad. Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** mx_functions_core.php 11 Feb 2008 22:52:57 -0000 1.75 --- mx_functions_core.php 12 Feb 2008 11:00:40 -0000 1.76 *************** *** 3790,3796 **** function is_post($var) { - global $HTTP_POST_VARS; // Note: _x and _y are used by (at least IE) to return the mouse position at onclick of INPUT TYPE="img" elements. ! return (isset($HTTP_POST_VARS[$var]) || ( isset($HTTP_POST_VARS[$var.'_x']) && isset($HTTP_POST_VARS[$var.'_y']))) ? 1 : 0; } --- 3790,3795 ---- function is_post($var) { // Note: _x and _y are used by (at least IE) to return the mouse position at onclick of INPUT TYPE="img" elements. ! return (isset($_POST[$var]) || ( isset($_POST[$var.'_x']) && isset($_POST[$var.'_y']))) ? 1 : 0; } *************** *** 3806,3811 **** function is_get($var) { ! global $HTTP_GET_VARS; ! return isset($HTTP_GET_VARS[$var]) ? 1 : 0 ; } --- 3805,3809 ---- function is_get($var) { ! return isset($_GET[$var]) ? 1 : 0 ; } |