]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix bad function name
authorEvan Prodromou <evan@status.net>
Tue, 24 Apr 2012 17:17:54 +0000 (13:17 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 24 Apr 2012 17:17:54 +0000 (13:17 -0400)
lib/util.php

index 3c65d287d018648b54ff1ee69bb1c9275a3a5c71..b99ba9b1ab544efa704e0e058f25aa95c70ab48a 100644 (file)
@@ -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?)