Drupal reports an "Unknown column" error when the module tries to remove the sharedemail_ prefix from the email address, and it fails to correct the email address.
The cause is in sharedemail.module at line 105:
db_query("UPDATE {users} SET {mail} = '%s' WHERE uid = '%d'", $realmail, $user->uid);
To fix the bug, remove the brackets around the column name:
db_query("UPDATE {users} SET mail = '%s' WHERE uid = '%d'", $realmail, $user->uid);
Comments
Comment #1
aufumy commentedFixed in DRUPAL-6--1 branch, thanks wesayso.
Audrey