better better call

This commit is contained in:
Evan Prodromou 2012-04-24 13:19:09 -04:00
parent 9c286feb5f
commit fb31ff1af7
1 changed files with 1 additions and 1 deletions

View File

@ -1311,7 +1311,7 @@ function common_inject_session($url, $serverpart = null)
$serverpart = parse_url($url, PHP_URL_HOST);
}
$currentServer = (array_key_exists('HTTP_HOST')) ? $_SERVER['HTTP_HOST'] : null;
$currentServer = (array_key_exists('HTTP_HOST', $_SERVER)) ? $_SERVER['HTTP_HOST'] : null;
// Are we pointing to another server (like an SSL server?)