- Patch #1253298 by bfroehle: PHP Notice with statistics_exit().

8.0.x
Dries Buytaert 2011-08-26 10:25:14 +01:00
parent a40f80428c
commit b247b84867
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ function statistics_exit() {
->fields(array(
'title' => strip_tags(drupal_get_title()),
'path' => $_GET['q'],
'url' => $_SERVER['HTTP_REFERER'],
'url' => isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '',
'hostname' => ip_address(),
'uid' => $user->uid,
'sid' => session_id(),