Pārlūkot izejas kodu

Fix cache value for email deletion requests

closes #8
undefined
spaghetti pirms 8 gadiem
committed by Tomochin
vecāks
revīzija
d9bb731a84
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      design/privateheader.php

+ 1
- 1
design/privateheader.php Parādīt failu

@@ -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[] = '<a href="tools.php?action=delete_email">' . $NumEmailDeleteRequests . " Email deletion request(s)</a>";


Notiek ielāde…
Atcelt
Saglabāt