Skip to content

Commit

Permalink
adding else for when no referral page title is found.
Browse files Browse the repository at this point in the history
  • Loading branch information
padams committed Jul 5, 2010
1 parent 01de5e4 commit 702156b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/base/handlers/refererHandlers.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ function notify($event) {
}

$r->set('page_title', $title);
}
} else {
$r->set('page_title', $r->get('url'));
}

$se = $r->get('is_searchengine');
//Extract anchortext and page snippet but not if it's a search engine...
Expand Down

0 comments on commit 702156b

Please sign in to comment.