[ic] Change in behaviour of currency tag in latest build
John Rennie
john.rennie at thechampagneshop.co.uk
Thu Aug 21 19:56:58 EDT 2003
Hi all,
I recently moved my site from 4.9.3-200211090658 to the latest build,
and
hit a problem with the currency tag.
If I run:
[calc]
return $Tag->currency(0,0,10);
[/calc]
<p>
[calc]
return $Tag->currency({ convert => 0, noformat => 0},10);
[/calc]
in the ITL code snippet part of the UI (a great new feature) or on a
page,
the output is:
0
$10.00
The error log says (wrapped):
81.96.57.8 7pVZhSwX:81.96.57.8 - [21/August/2003:13:41:23 -0400] demo1
/i/demo1/admin/test_code.html Safe: Can't use string ("10") as a HASH
ref
while "strict refs" in use at /home/demo1/interchange/lib/Vend/Util.pm
line
462.
>
>
> return $Tag->currency(0,0,10);
>
Is this a configuration difference between the old and new servers, or
an
Interchange bug? I can't see anything in the 'What's new' that might
cover
it. I've (obviously) worked round it by moving to the more formal call,
but it may be an issue for other users.
Thanks,
John
The Champagne Shop Ltd
www.thechampagneshop.co.uk
Tel 0870 0130105
Fax 01489 881163
More information about the interchange-users
mailing list