apply patch to views module to fix error

php 5.4 and "Notice: Array to string conversion"