From 7a4d39cf8fedccf1effc48c006b673c3aebe0744 Mon Sep 17 00:00:00 2001
From: toggg <bertrand@toggg.com>
Date: Fri, 16 Mar 2007 12:05:43 +0000
Subject: [PATCH] Nan, c'est pas pour decrocher 8888 !

---
 ecrire/install/etape_4.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/install/etape_4.php b/ecrire/install/etape_4.php
index dea79b79ef..ee83f3df6f 100644
--- a/ecrire/install/etape_4.php
+++ b/ecrire/install/etape_4.php
@@ -19,7 +19,7 @@ function install_etape_4_dist()
 {
 	global $adresse_db, $choix_db, $login_db, $pass_db, $spip_lang_right, $spip_version, $table_new, $chmod, $table_prefix;
 	if (isset($_REQUEST['table_prefix'])) {
-		$table_prefix = $_REQUEST['table_prefix'];
+		$table_prefix = trim($_REQUEST['table_prefix']);
 	}
 
 	echo install_debut_html('AUTO', ' onLoad="document.getElementById(\'suivant\').focus();return false;"');
-- 
GitLab