aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-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.