* Define cachekey in cache.php.

This commit is contained in:
Lufei
2023-06-08 14:51:02 +08:00
parent dbdad3b5af
commit 6e6d20032e
4 changed files with 26 additions and 10 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ class bug extends control
$pager = new pager($recTotal, $recPerPage, $pageID);
/* Get executions. */
$cacheKey = "bugBrowse{$this->projectID}";
$cacheKey = sprintf($this->config->cacheKeys->bug->browse, $this->projectID);
if(helper::isCacheEnabled() && $this->cache->has($cacheKey))
{
$executions = $this->cache->get($cacheKey);