[store-email] token not working

Project: 
Ubercart
Category: 
bug report
Priority: 
normal
Status: 
patch (needs review)

Thanks so much for ubercart, it's simply lovely.

I've found a minor bug in uc_store.module that causes the [store-email] token to be an empty string. Line 364:
$values['store-email'] = variable_get('uc_store_email_from', '');
should I think be:
$values['store-email'] = variable_get('uc_store_email', '');

I initially modified it to use the uc_store_email_from() function (that puts the store email into the form Store Name ), but this doesn't make much sense in most places the token would be used (eg invoices and pages).

Re: [store-email] token not working

Great find... I had updated the store settings form to simplify the e-mail field and forgot to update the token! Bug finder badge coming right up.