diff options
-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. |