Just change the source code followings
if ($saved_timestamp = $this->getCompiledTimestamp()) {
to the below
$saved_timestamp = $this->getCompiledTimestamp();
if (saved_timestamp) {
there is an useful article for this issue on smarty forum
http://www.smarty.net/forums/viewtopic.php?p=69488