aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ec44ee7af..55d389bab 100644
--- a/engine/lib/cache.php
+++ b/engine/lib/cache.php
@@ -41,7 +41,7 @@
*/
public function set_variable($variable, $value)
{
- if (!isarray($this->variables))
+ if (!is_array($this->variables))
$this->variables = array();
$this->variables[$variable] = $value;