--- D:/diff/userpoints/userpoints.module	Fri Dec 07 16:06:34 2007
+++ W:/ubercart/sites/all/modules/userpoints/userpoints.module	Thu Dec 13 16:27:33 2007
@@ -388,7 +388,7 @@
     global $user;
     $uid = $user->uid;
   }
-  if (!tid) {
+  if (!$tid) {
     $tid = userpoints_get_default_tid();
   }
   return (int)db_result(db_query('SELECT points FROM {userpoints} WHERE uid = %d AND tid = %d', $uid, $tid));
