grisha2217
Active member
Hello guys, possible it is market bug, but i don't know about it.
There is construction:
After this code we can use $conversation in this template, this variable will contain last element of $conversations, i think it is incorrect. When i coded my plugin, i expected that $conversation is not available after foreach, i spent a lot of time to find error, why i put something in $viewParams['conversation'] and it replaces on last element of $conversations array
There is construction:
Code:
<xen:foreach loop="$conversations" value="$conversation">
// do something
</xen:foreach>
After this code we can use $conversation in this template, this variable will contain last element of $conversations, i think it is incorrect. When i coded my plugin, i expected that $conversation is not available after foreach, i spent a lot of time to find error, why i put something in $viewParams['conversation'] and it replaces on last element of $conversations array