|
From: MW <jo...@us...> - 2008-02-09 20:13:06
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23141/includes Modified Files: mx_functions_tools.php Log Message: $POST is already a global and doesn't need to be declared as one in local scope Index: mx_functions_tools.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_tools.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** mx_functions_tools.php 8 Feb 2008 23:35:57 -0000 1.19 --- mx_functions_tools.php 9 Feb 2008 20:13:01 -0000 1.20 *************** *** 2845,2849 **** function update_add_field( $field_type, $field_id = false ) { ! global $db, $db, $_POST, $lang; $field_name = ( isset( $_POST['field_name'] ) ) ? htmlspecialchars( $_POST['field_name'] ) : ''; --- 2845,2849 ---- function update_add_field( $field_type, $field_id = false ) { ! global $db, $lang; $field_name = ( isset( $_POST['field_name'] ) ) ? htmlspecialchars( $_POST['field_name'] ) : ''; *************** *** 2959,2963 **** function file_update_data( $file_id ) { ! global $_POST, $db; $field = ( isset( $_POST['field'] ) ) ? $_POST['field'] : ''; if ( !empty( $field ) ) --- 2959,2963 ---- function file_update_data( $file_id ) { ! global $db; $field = ( isset( $_POST['field'] ) ) ? $_POST['field'] : ''; if ( !empty( $field ) ) |