Skip to content

Commit

Permalink
FIX Notice: Undefined property: page
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgetutor committed Nov 3, 2013
1 parent eda3d70 commit 4a887f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GoogleAnalytics/Internals/Request/EventRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected function buildParameters() {
$p->utmni = 1;
}

if($this->page) {
if(isset($this->page)) {
$p->utmp = $this->page->getPath();
$p->utmdt = $this->page->getTitle();
if($this->page->getCharset() !== null) {
Expand Down

0 comments on commit 4a887f8

Please sign in to comment.