? 854856-userpoints-d6.patch
Index: userpoints.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/userpoints/userpoints.module,v
retrieving revision 1.67.2.59
diff -u -p -r1.67.2.59 userpoints.module
--- userpoints.module	15 Jul 2010 13:48:52 -0000	1.67.2.59
+++ userpoints.module	15 Jul 2010 19:15:39 -0000
@@ -1523,7 +1523,7 @@ function userpoints_block($op = 'list', 
     case 'view':
       if ($delta == -1 && (user_access(USERPOINTS_PERM_VIEW) || user_access(USERPOINTS_PERM_VIEW_OWN))) {
           $title = t('@user\'s !points', array_merge(array('@user' => $user->name), userpoints_translation()));;
-          if (isset($user->uid)) {
+          if ($user->uid) {
             $points = userpoints_get_current_points($user->uid, variable_get(USERPOINTS_CATEGORY_PROFILE_DISPLAY_TID, 0));
             $show_points = format_plural($points, '!point', '!points', userpoints_translation());
             $content = t('You have %p %c', array('%p' => $points, '%c' => $show_points));
