projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ace4fa3
)
Simplify; also fix logic for how isset() usually works vs. empty()
author
Chuck Hagenbuch
<chuck@horde.org>
Sun, 22 Aug 2010 02:38:13 +0000
(22:38 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Sun, 22 Aug 2010 02:38:13 +0000
(22:38 -0400)
ansel/lib/View/Base.php
patch
|
blob
|
history
diff --git
a/ansel/lib/View/Base.php
b/ansel/lib/View/Base.php
index
d749bae
..
ffd88cb
100644
(file)
--- 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]);
}
/**