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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-03-12 13:24:10 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-03-12 13:24:10 +0300
commit24610e60aeb85a1fa239df0282c9786495ff276f (patch)
treec17d98aaf850aac799e36deb0c1c86e43422ebe8 /plugins/Actions
parent72169fcfdd35f6a826d187ef2c4b5928c588b69b (diff)
Refs #1082
Fixes the "cannot use object of type Piwik_DataTable_Row as array" error. The error happens when two outlinks with the same name, one being a URL, the other one being a plain name, are seen in the same day. eg. http://string/ and string. Fixed issue by prepending a space to make these two different (same trick already used for pages and categories with similar name).
Diffstat (limited to 'plugins/Actions')
-rw-r--r--plugins/Actions/Actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Actions/Actions.php b/plugins/Actions/Actions.php
index 87a2aaa33b..c38dc4fe44 100644
--- a/plugins/Actions/Actions.php
+++ b/plugins/Actions/Actions.php
@@ -375,7 +375,7 @@ class Piwik_Actions extends Piwik_Plugin
{
$actionName = '/' . $actionName;
}
- else if( $row['type'] == Piwik_Tracker_Action::TYPE_ACTION_NAME )
+ else
{
$actionName = ' ' . $actionName;
}