updated smarty to 3.1.20; fix small bug in save search names