aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-06 14:07:21 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-06 14:07:21 +0000
commitbef29e60c86bfcd3c17a634da3ad8dd868881387 (patch)
tree3dba5138de2703e33e007d9bfb68c9aa8580622c
parent9d3a3c457c672567a65600666a44c8de594c729d (diff)
downloadelgg-bef29e60c86bfcd3c17a634da3ad8dd868881387.tar.gz
elgg-bef29e60c86bfcd3c17a634da3ad8dd868881387.tar.bz2
isset fixes
git-svn-id: https://code.elgg.org/elgg/trunk@2413 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/cache.php b/engine/lib/cache.php
index 23f3c302b..9355556a0 100644
--- a/engine/lib/cache.php
+++ b/engine/lib/cache.php
@@ -85,7 +85,7 @@
* @param string $key The name of the attribute or metadata.
* @return bool
*/
- function __isset($key) { if ($this->load($key)!="") return true; else return false; }
+ function __isset($key) { return (bool)$this->load($key); }
/**
* Supporting unsetting of magic attributes.