--- account_reminder.module	2007-03-20 22:27:55.000000000 +0100
+++ account_reminderNew.module	2007-12-11 09:05:22.000000000 +0100
@@ -122,7 +122,7 @@ You can stop receiving these reminder em
 function account_reminder_cron(){
 
   //Remove users who have signed up from the reminder table...
-  $result=db_query("DELETE {account_reminder}.* FROM {account_reminder},{users} WHERE account_reminder.uid=users.uid AND access!=0 AND users.uid!=0 AND status=1");
+  $result=db_query("DELETE {account_reminder}.* FROM {account_reminder},{users} WHERE {account_reminder}.uid={users}.uid AND access!=0 AND {users}.uid!=0 AND status=1");
 
   $first_wait=variable_get('account_reminder_initial', 10);
   $period=variable_get('account_reminder_frequency', 14);
