Bug in template operator append ?

Author Message

Marko Pohl

Friday 20 February 2004 12:49:18 am

If you try this:

{"Testing "|append( "1 ", "2 ", "3" )}

as written in the docs you get only the first item appended:
'Testing 1'
This works, giving you 'Testing 1 2 3':

{"Testing "|append("1 ")|append("2 ")|append("3" )}

Any ideas?

I Use Ezpublish 3.3-3 (3.3) Rev 5019

Vidar Langseid

Tuesday 24 February 2004 3:21:27 am

The append operator cannot append multiple strings to a string.

I have now fixed this so that this will work in 3.2-5 (rev 5240) and 3.3-4 rev5241)

I have also updated the documentation:
http://ez.no/ez_publish/documentation/reference/template_operators/arrays/append

Best regards,
Vidar

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.