Closed (fixed)
Project:
Shared Email
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2009 at 03:13 UTC
Updated:
29 Jun 2009 at 05:20 UTC
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