Miva Merchant 5.5
Production Release 8 Update 6
Miva Merchant Engine v5.13
Database API: mysql
This seems to be a Template Compiler bug, I did not test the with equivalent Mivascript code, but I think I remember Bruce G having the same problem a while back.
The conditional <mvt:if expr="( g.test[1]:code EQ l.settings:topcat:code )"> causes the null array g.test to stop being null.
Sampe code
Code:
<mvt:item name="ry_toolbelt" param="assign|g.max|miva_array_max(g.test)" /> ~&mvt:global:max;~<br> <mvt:if expr="( g.test[1]:code EQ l.settings:topcat:code )"> </mvt:if> <mvt:item name="ry_toolbelt" param="assign|g.max|miva_array_max(g.test)" /> ~&mvt:global:max;~<br>
~0~
~1~
Leave a comment: