In messages, it prints "Pay by user %points." Isn't %points supposed to be replaced with the custom unit the admin has set?

CommentFileSizeAuthor
#1 patch_120.txt4.24 KBmercmobily

Comments

mercmobily’s picture

Status: Active » Needs review
StatusFileSize
new4.24 KB

Hi,

I actually have a fix for this one.
It's caused by the port to Drupal 5...

The problem is in the file contrib/userpoints_ecommerce.module, where sometimes there is %Points rather than !Points.
Affected lines:

* 36
* 44
* 52
* 67
* 129
* 136
* 141
* 143

I supplied the patch for it, which SHOULD be good to go.

Bye,

Merc,

kbahey’s picture

Status: Needs review » Fixed

Thank you.

Committed to HEAD and 5.x.

mercmobily’s picture

No worries mate ;-D

kbahey’s picture

Ah, we have an aussie here ...

G'day mate!

mercmobily’s picture

Hi,

G'Daaaay.

:-D

Merc.

Anonymous’s picture

Status: Fixed » Closed (fixed)