I found a weird character in a comment when I was reading the code.

Turns out it's an:

Patch to follow.

#3 commerce-i_not_i-1599336-03.patch1.9 KBvasike
PASSED: [[SimpleTest]]: [MySQL] 3,567 pass(es). View
#1 commerce-i_not_i-1599336-01.patch642 bytesbendiy
PASSED: [[SimpleTest]]: [MySQL] 3,567 pass(es). View


bendiy’s picture

642 bytes
PASSED: [[SimpleTest]]: [MySQL] 3,567 pass(es). View

Patch attached.

Damien Tournoud’s picture

Status: Reviewed & tested by the community » Needs review

There are two others like that: in commerce_line_item.module and commerce_product_reference.module (probably copy/paste of an original typo).

Also, if you are not seeing î properly here, it means that your editor is not configured properly.

vasike’s picture

1.9 KB
PASSED: [[SimpleTest]]: [MySQL] 3,567 pass(es). View

i can confirm the other cases, pointed by Damien.
and here is the patch

rszrama’s picture

Status: Needs review » Fixed

Funny. And re: what Damien said about your IDE, make sure you're viewing files with the UTF-8 character set (though in this case it helped you find the problem to not be).

bendiy’s picture

Thanks for the tip. Encoding was set to "Cp1252".

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.