Fixing invalid php in list.phtml