Merge pull request #1077 from maxrice/master

fix typo preventing user_email from updating on checkout
This commit is contained in:
Mike Jolley 2012-05-26 07:18:15 -07:00
commit 7f0048480c
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ class WC_Checkout {
// Special fields
switch ($key) {
case "billing_emaill" :
case "billing_email" :
if (!email_exists($this->posted[$key])) wp_update_user( array ( 'ID' => $user_id, 'user_email' => $this->posted[$key] ) ) ;
break;
case "billing_first_name" :