Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-01-29 09:42:59 +0300
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-01-29 09:42:59 +0300
commit9dbd4894c2b585cda89d75f3cc0cb0c58b56b074 (patch)
treeb654089458f70b806fb73b16754991ec470e8cf5 /plugins/MultiSites
parentabf12ee97a41e103341eee47b5fe6dc8e9305d9c (diff)
If the number of visits in the current period less than the last period, show a decrease (whether or not the current number is 0).
Diffstat (limited to 'plugins/MultiSites')
-rw-r--r--plugins/MultiSites/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MultiSites/Controller.php b/plugins/MultiSites/Controller.php
index 6750c088fc..c3dd6680c5 100644
--- a/plugins/MultiSites/Controller.php
+++ b/plugins/MultiSites/Controller.php
@@ -118,7 +118,7 @@ class Piwik_MultiSites_Controller extends Piwik_Controller
private function fillSummary($current, $last, $type)
{
- if(($current == 0 && $last == 0) || $current == 0)
+ if($current == 0 && $last == 0)
{
$summary = 0;
}