Closed (fixed)
Project:
Ubercart
Version:
6.x-2.0-rc3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Jun 2009 at 08:26 UTC
Updated:
30 Jun 2009 at 21:10 UTC
Jump to comment: Most recent file
On line 224:
echo t('(!price each)', array('!price' => uc_currency_format($product->price)));
This should be changed to use uc_price() instead of uc_currency_format().
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | invoice_uc_price.patch | 2.91 KB | Island Usurper |
| #1 | 478426.uc_price_updates.2.x.patch | 2.71 KB | cha0s |
Comments
Comment #1
cha0s commentedChanged that (with a context logic correction) and a couple of examples in the hook docs.
Comment #2
Island Usurper commentedI noticed that the revisions weren't in the $context either, and the first 'location' looked like a mistake. Here's those fixes as well.
Comment #3
Island Usurper commentedOK, it works. Committed.