diff options
Diffstat (limited to 'plugins/VisitorInterest/VisitorInterest.php')
-rw-r--r-- | plugins/VisitorInterest/VisitorInterest.php | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php index 5c83b1a4ec..ae7d5a802a 100644 --- a/plugins/VisitorInterest/VisitorInterest.php +++ b/plugins/VisitorInterest/VisitorInterest.php @@ -1,17 +1,17 @@ -<?php
-/**
- * Piwik - Open source web analytics
- *
- * @link http://piwik.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
- * @version $Id$
- *
- * @package Piwik_VisitorInterest
- */
-
-/**
- *
- * @package Piwik_VisitorInterest
+<?php +/** + * Piwik - Open source web analytics + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later + * @version $Id$ + * + * @package Piwik_VisitorInterest + */ + +/** + * + * @package Piwik_VisitorInterest */ class Piwik_VisitorInterest extends Piwik_Plugin { @@ -106,7 +106,7 @@ class Piwik_VisitorInterest extends Piwik_Plugin } else { - $minGap = $gap[0];
+ $minGap = $gap[0]; $plusEncoded = urlencode('+'); $gapName = "'".$minGap.$plusEncoded."'"; $select[] = "sum(case when visit_total_actions > $minGap then 1 else 0 end) as $gapName "; @@ -140,8 +140,8 @@ class Piwik_VisitorInterest extends Piwik_Plugin } $toSelect = implode(" , ", $select); - $table = $this->archiveProcessing->getSimpleDataTableFromSelect($toSelect, Piwik_Archive::INDEX_NB_VISITS);
-// echo $table;
+ $table = $this->archiveProcessing->getSimpleDataTableFromSelect($toSelect, Piwik_Archive::INDEX_NB_VISITS); +// echo $table; return $table; } |