|
From: <mxb...@li...> - 2005-03-17 00:42:55
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6374 Modified Files: mx_functions.php Log Message: Sorry, fixed a typo in the new mx_request_vars class. I forgot the $this keyword. lol Index: mx_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** mx_functions.php 17 Mar 2005 00:07:44 -0000 1.27 --- mx_functions.php 17 Mar 2005 00:42:42 -0000 1.28 *************** *** 1428,1436 **** function post($var, $type = 0, $dflt = '') { ! return _read($var, ($type | MX_TYPE_POST_VARS), $dflt); } function get($var, $type = 0, $dflt = '') { ! return _read($var, ($type | MX_TYPE_GET_VARS), $dflt); } function is_post($var) --- 1428,1436 ---- function post($var, $type = 0, $dflt = '') { ! return $this->_read($var, ($type | MX_TYPE_POST_VARS), $dflt); } function get($var, $type = 0, $dflt = '') { ! return $this->_read($var, ($type | MX_TYPE_GET_VARS), $dflt); } function is_post($var) *************** *** 1446,1450 **** function is_request($var) { ! return ( is_get($var) || is_post($var) ); } --- 1446,1450 ---- function is_request($var) { ! return ( $this->is_get($var) || $this->is_post($var) ); } |