EZP-21758: Fixed another (stupid) array to string conversion

This was due to the fact that "_custom" key in $viewParameters was
removed after $viewParameters was assigned to the template.
Yes, (facepalm)...
Merge remote-tracking branch 'upstream/master'