diff options
author | robocoder <anthon.pang@gmail.com> | 2010-02-10 11:32:03 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-02-10 11:32:03 +0300 |
commit | c8415c7e6a2c2da6909f397b7b1ca6f198a3b736 (patch) | |
tree | 545f9cd8de8ccbdffb0551975595471eca64f0fb /core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php | |
parent | 1a22b125a7328e4fd7864a9e9d7dbc8b4b18d21d (diff) |
refs #1122 - fix core usage
git-svn-id: http://dev.piwik.org/svn/trunk@1834 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php')
-rw-r--r-- | core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php b/core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php index 90ea6b9ee5..f4d4ac7e01 100644 --- a/core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php +++ b/core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php @@ -19,7 +19,7 @@ * You can also specify the precision of the percentage value to be displayed (defaults to 0, eg "11%") * * Usage: - * $nbVisits = Piwik_VisitsSummary_API::getVisits($idSite, $period, $date); + * $nbVisits = Piwik_VisitsSummary_API::getInstance()->getVisits($idSite, $period, $date); * $dataTable->queueFilter('ColumnCallbackAddColumnPercentage', array('nb_visits', 'nb_visits_percentage', $nbVisits, 1)); * * @package Piwik |