From d5a4518692cc18cdd10a8864bd4dff0fd7f5d850 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Wed, 31 Jul 2002 22:56:56 +0000
Subject: [PATCH] Comme toujours, je me plante... recharset (attention reglage
 global pour tout le site)

---
 ecrire/inc_presentation.php3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3
index 93a8f4f796..f59152bf93 100644
--- a/ecrire/inc_presentation.php3
+++ b/ecrire/inc_presentation.php3
@@ -811,8 +811,8 @@ function debut_html($titre = "") {
 
 	if ($nom_site_spip == "") $nom_site_spip="SPIP";
 
-	$charset = lire_meta('charset') ||
-	$charset = 'iso-8859-1';
+	if (! $charset = lire_meta('charset'))
+		$charset = 'iso-8859-1';
 	
 	?>
 	<html>
-- 
GitLab