Fixed a bug in newtab.php where the semantic check was faulty and the
object variables were missed used.

Signed-off-by: yongzhez <yongzhe.zheng1@gmail.com>