Permalink
Browse files

Fixed Session::fromUtmb() (issue #14)

git-svn-id: http://php-ga.googlecode.com/svn/trunk@45 edaf56f0-51c5-75dc-8b6c-d0dc49a406ca
  • Loading branch information...
mail@thomasbachem.com
mail@thomasbachem.com committed Mar 20, 2012
1 parent 1e11a73 commit c643143d38e0c2ce1546d83b30c6d356979a824a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/GoogleAnalytics/Session.php
@@ -91,8 +91,8 @@ public function fromUtmb($value) {
return $this;
}
- $this->setTrackCount($parts[2]);
- $this->setStartTime(new DateTime('@' . $parts[4]));
+ $this->setTrackCount($parts[1]);
+ $this->setStartTime(new DateTime('@' . $parts[3]));
// Allow chaining
return $this;

0 comments on commit c643143

Please sign in to comment.