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