Upgrade to Smarty 3.1.13