### Eclipse Workspace Patch 1.0
#P wordpress-trunk
Index: wp-includes/pluggable.php
===================================================================
--- wp-includes/pluggable.php	(revision 14580)
+++ wp-includes/pluggable.php	(working copy)
@@ -103,10 +103,11 @@
 function get_userdata( $user_id ) {
 	global $wpdb;
 
-	$user_id = absint( $user_id );
 	if ( ! $user_id )
 		return false;
 
+	$user_id = absint( $user_id );
+
 	$user = wp_cache_get( $user_id, 'users' );
 
 	if ( $user )
