fixed missing message variable definition in entry.php