From: Chuck Hagenbuch Date: Sun, 22 Aug 2010 02:38:13 +0000 (-0400) Subject: Simplify; also fix logic for how isset() usually works vs. empty() X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f904da0c64f3d1e0f37342a0fb9796fa2bef48be;p=horde.git Simplify; also fix logic for how isset() usually works vs. empty() --- diff --git a/ansel/lib/View/Base.php b/ansel/lib/View/Base.php index d749bae31..ffd88cb9b 100644 --- a/ansel/lib/View/Base.php +++ b/ansel/lib/View/Base.php @@ -113,11 +113,7 @@ abstract class Ansel_View_Base public function __isset($property) { - if (empty($this->_params[$property])) { - return false; - } - - return true; + return isset($this->_params[$property]); } /**