Changeset 2358 for branches/0.9/bb-includes/registration-functions.php
- Timestamp:
- 08/12/2009 12:57:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/bb-includes/registration-functions.php
r1888 r2358 53 53 global $bbdb; 54 54 $key = sanitize_user( $key, true ); 55 if ( empty( $key ) )55 if ( empty( $key ) || !is_string( $key ) ) 56 56 bb_die(__('Key not found.')); 57 57 if ( !$user_id = $bbdb->get_var( $bbdb->prepare( "SELECT user_id FROM $bbdb->usermeta WHERE meta_key = 'newpwdkey' AND meta_value = %s", $key ) ) )
Note: See TracChangeset
for help on using the changeset viewer.