diff --git a/tests/PHPUnit_Smarty.php b/tests/PHPUnit_Smarty.php index ba2decd9..6e3ee6f1 100644 --- a/tests/PHPUnit_Smarty.php +++ b/tests/PHPUnit_Smarty.php @@ -626,7 +626,7 @@ KEY `expire` (`expire`) * @return null|\Smarty|\SmartyBC */ public function getSmartyObj(){ - return isset($this->smarty) ? $this->smarty : isset($this->smartyBC) ? $this->smartyBC : null; + return isset($this->smarty) ? $this->smarty : (isset($this->smartyBC) ? $this->smartyBC : null); } /**