AZ-41: Fixes issue with incompatibility changes between smarty

dev-master and smarty-dev 3.1.19