diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-06 14:07:21 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-06 14:07:21 +0000 |
commit | bef29e60c86bfcd3c17a634da3ad8dd868881387 (patch) | |
tree | 3dba5138de2703e33e007d9bfb68c9aa8580622c /engine/lib | |
parent | 9d3a3c457c672567a65600666a44c8de594c729d (diff) | |
download | elgg-bef29e60c86bfcd3c17a634da3ad8dd868881387.tar.gz elgg-bef29e60c86bfcd3c17a634da3ad8dd868881387.tar.bz2 |
isset fixes
git-svn-id: https://code.elgg.org/elgg/trunk@2413 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/cache.php | 2 |
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. |