From dcc0e2b6cf18fad5d1ae95005652809fd7f4b658 Mon Sep 17 00:00:00 2001 From: spaghetti Date: Tue, 5 Jul 2016 15:30:50 -0400 Subject: [PATCH] Fix cache value for email deletion requests closes #8 --- design/privateheader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design/privateheader.php b/design/privateheader.php index b7e9890..e460f1e 100755 --- a/design/privateheader.php +++ b/design/privateheader.php @@ -568,7 +568,7 @@ if (check_perms('users_mod')) { if ($NumEmailDeleteRequests === false) { G::$DB->query("SELECT COUNT(*) FROM email_delete_requests"); list($NumEmailDeleteRequests) = G::$DB->next_record(); - G::$Cache->cache_value('num_email_delete_request', $NumEmailDeleteRequests); + G::$Cache->cache_value('num_email_delete_requests', $NumEmailDeleteRequests); } if ($NumEmailDeleteRequests > 0) { $ModBar[] = '' . $NumEmailDeleteRequests . " Email deletion request(s)";