From: Aryeh Gregor Date: Tue, 27 Mar 2007 02:50:23 +0000 (+0000) Subject: Use the variable I introduced, maybe? X-Git-Tag: 1.31.0-rc.0~53592 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=70b9502713f090f83cd029e0a6101c4b6d92bf38;p=lhc%2Fweb%2Fwiklou.git Use the variable I introduced, maybe? --- diff --git a/includes/Metadata.php b/includes/Metadata.php index 24522cf457..0cb9ca3c2c 100644 --- a/includes/Metadata.php +++ b/includes/Metadata.php @@ -75,7 +75,7 @@ function rdfSetup() { $httpaccept = isset($_SERVER['HTTP_ACCEPT']) ? $_SERVER['HTTP_ACCEPT'] : ''; - $rdftype = wfNegotiateType(wfAcceptToPrefs($_SERVER['HTTP_ACCEPT']), wfAcceptToPrefs(RDF_TYPE_PREFS)); + $rdftype = wfNegotiateType(wfAcceptToPrefs($httpaccept, wfAcceptToPrefs(RDF_TYPE_PREFS)); if (!$rdftype) { wfHttpError(406, "Not Acceptable", wfMsg("notacceptable"));