aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-25 17:11:31 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-25 17:11:31 +0000
commitc966ed58284071ebb1fcbe009e4047010c253fcc (patch)
treec20083eb1e0b9bfe1d5282b3d77be40eb886fa69 /engine
parentf3995c360b6887b1e4c60cdf9edc255c91b4438e (diff)
downloadelgg-c966ed58284071ebb1fcbe009e4047010c253fcc.tar.gz
elgg-c966ed58284071ebb1fcbe009e4047010c253fcc.tar.bz2
Caching support fixed.
git-svn-id: https://code.elgg.org/elgg/trunk@2137 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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;