diff options
author | diosmosis <benaka@piwik.pro> | 2015-02-01 11:51:52 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-02-05 01:18:32 +0300 |
commit | 3e390e5e38a6cbe60831352462d4b87b8bc2a451 (patch) | |
tree | 680922c30703d89fa7fd42d02d66f58e591e6679 /core/Tracker/Model.php | |
parent | 31396a8e80c9f5ba977ffdb3c3e657b43cd6098a (diff) |
Add tests for action ID related methods in Tracker/Model.php and fix group bys in Tracker/Model.php and TableLogAction.
Diffstat (limited to 'core/Tracker/Model.php')
-rw-r--r-- | core/Tracker/Model.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Tracker/Model.php b/core/Tracker/Model.php index 89ee45b27d..e40f845e00 100644 --- a/core/Tracker/Model.php +++ b/core/Tracker/Model.php @@ -146,7 +146,7 @@ class Model * * @param string $name * @param int $type - * @param string $urlPrefix + * @param int $urlPrefix * @return int The ID of the action (can be for an existing action or new action). */ public function createNewIdAction($name, $type, $urlPrefix) @@ -230,7 +230,7 @@ class Model $i++; } - $sql .= " GROUP BY type, name"; + $sql .= " GROUP BY type, hash, name"; // Case URL & Title are empty if (empty($bind)) { |