changeset 38:33d1c5a13acd

On va dire: oooops. Il manquait bien evidement des parenth├Ęses.
author Franck Deroche <webmaster@defr.org>
date Mon, 05 Nov 2007 10:48:33 +0100
parents 5eb974b45cb1
children 876d42d93e5b
files includes/class.skeleton.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/includes/class.skeleton.php	Mon Nov 05 10:44:07 2007 +0100
+++ b/includes/class.skeleton.php	Mon Nov 05 10:48:33 2007 +0100
@@ -238,7 +238,7 @@
     $contentType = null;
     if(Skeleton::getOutputType() == Skeleton::OUTPUT_ATOM)
         $contentType = 'application/atom+xml';
-    else if($this->useXML && Skeleton::getOutputType == Skeleton::OUTPUT_XHTML)
+    else if($this->useXML && Skeleton::getOutputType() == Skeleton::OUTPUT_XHTML)
         $contentType = 'application/xhtml+xml; charset=utf-8';
     if(!is_null($contentType))
         header('Content-Type: ' . $contentType);