From 702156b9fc6e892844463de1ec6fc631d8a20bc4 Mon Sep 17 00:00:00 2001 From: padams Date: Mon, 5 Jul 2010 08:21:44 +0000 Subject: [PATCH] adding else for when no referral page title is found. --- modules/base/handlers/refererHandlers.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/base/handlers/refererHandlers.php b/modules/base/handlers/refererHandlers.php index 9748df316..62b1855fc 100644 --- a/modules/base/handlers/refererHandlers.php +++ b/modules/base/handlers/refererHandlers.php @@ -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...