diff options
Diffstat (limited to 'plugins/CoreAdminHome')
-rw-r--r-- | plugins/CoreAdminHome/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreAdminHome/API.php b/plugins/CoreAdminHome/API.php index 6f84b954e9..32f269ff70 100644 --- a/plugins/CoreAdminHome/API.php +++ b/plugins/CoreAdminHome/API.php @@ -326,7 +326,7 @@ class API extends \Piwik\Plugin\API continue; } - if ($date->toString() == $theDate) { + if ($date->toString() == $theDate || $theDate == 'today' || $theDate == 'yesterday') { $toInvalidate[] = $date; } else { $invalidDates[] = $theDate; |