aboutsummaryrefslogtreecommitdiff
path: root/simplecache
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-27 02:29:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-27 02:29:09 +0000
commit9488ae779a5b0930a98d2d71f387eb9596428ad9 (patch)
tree252f763c8ef68dde512a97031be3db38e7ef693e /simplecache
parentce16e90e8792f69f4b733a044280e0f38d651bb2 (diff)
downloadelgg-9488ae779a5b0930a98d2d71f387eb9596428ad9.tar.gz
elgg-9488ae779a5b0930a98d2d71f387eb9596428ad9.tar.bz2
Fixes #2590 - simplecache now works when simplecache turned off
git-svn-id: http://code.elgg.org/elgg/trunk@7122 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'simplecache')
-rw-r--r--simplecache/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/simplecache/view.php b/simplecache/view.php
index b9c485fa0..541d1470d 100644
--- a/simplecache/view.php
+++ b/simplecache/view.php
@@ -61,7 +61,7 @@ if ($mysql_dblink = @mysql_connect($CONFIG->dbhost,$CONFIG->dbuser,$CONFIG->dbpa
if (!$contents) {
mysql_close($mysql_dblink);
require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
- $contents = elgg_view($view);
+ $contents = elgg_view($view_name);
}
header("Content-Length: " . strlen($contents));