From: Evan Prodromou Date: Tue, 24 Apr 2012 17:17:54 +0000 (-0400) Subject: fix bad function name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9c286feb5fe224229f42a94b2460e0dae248380d;p=quix0rs-gnu-social.git fix bad function name --- diff --git a/lib/util.php b/lib/util.php index 3c65d287d0..b99ba9b1ab 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1311,7 +1311,7 @@ function common_inject_session($url, $serverpart = null) $serverpart = parse_url($url, PHP_URL_HOST); } - $currentServer = (array_has_key('HTTP_HOST')) ? $_SERVER['HTTP_HOST'] : null; + $currentServer = (array_key_exists('HTTP_HOST')) ? $_SERVER['HTTP_HOST'] : null; // Are we pointing to another server (like an SSL server?)