aboutsummaryrefslogtreecommitdiff
path: root/simplecache/view.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-04 15:36:36 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-04 15:36:36 +0000
commitf4b1ebbe468e295d59bf7285b335aa51bcf132bb (patch)
tree517ed7919069d8a6c3fb34235b048a2bbab91e98 /simplecache/view.php
parent559cae5d9035f65f12c1cc25cffe05880a2734c4 (diff)
downloadelgg-f4b1ebbe468e295d59bf7285b335aa51bcf132bb.tar.gz
elgg-f4b1ebbe468e295d59bf7285b335aa51bcf132bb.tar.bz2
Merge r6301:6338 from 1.7 to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@6356 36083f99-b078-4883-b0ff-0f9b5a30f544
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 01e4fe0e7..1f4aad018 100644
--- a/simplecache/view.php
+++ b/simplecache/view.php
@@ -53,7 +53,7 @@ if ($mysql_dblink = @mysql_connect($CONFIG->dbhost,$CONFIG->dbuser,$CONFIG->dbpa
$contents = file_get_contents($filename);
header("Content-Length: " . strlen($contents));
} else {
- mysql_query("INSERT into {$CONFIG->dbprefix}datalists set name = 'simplecache_lastupdate', value = '0' ON DUPLICATE KEY UPDATE value='0'");
+ mysql_query("INSERT into {$CONFIG->dbprefix}datalists set name = 'simplecache_lastupdate_$viewtype', value = '0' ON DUPLICATE KEY UPDATE value='0'");
echo ''; exit;
}