aboutsummaryrefslogtreecommitdiff
path: root/simplecache
diff options
context:
space:
mode:
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 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;
}