From 0496670f254e221051097eb61ce21e90bdc481d2 Mon Sep 17 00:00:00 2001
From: b_b <bruno@eliaz.fr>
Date: Fri, 17 Dec 2021 17:11:04 +0100
Subject: [PATCH] =?UTF-8?q?bugfix=20:=20passer=20la=20bonne=20variable=20?=
 =?UTF-8?q?=C3=A0=20generer=5Fhtpass()?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

thx phpstan :)

retour sur 6807e139d2bcb6b0607b52e093f4130a51d1ef4d
---
 ecrire/install/etape_3b.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/install/etape_3b.php b/ecrire/install/etape_3b.php
index 498ab6f479..0b194b2385 100644
--- a/ecrire/install/etape_3b.php
+++ b/ecrire/install/etape_3b.php
@@ -84,7 +84,7 @@ function install_etape_3b_dist() {
 		include_spip('auth/sha256.inc');
 		include_spip('inc/acces');
 		if ($generer_htpass = charger_fonction('generer_htpass', 'inc', true)) {
-			$htpass = $generer_htpass($new_pass);
+			$htpass = $generer_htpass($pass);
 		}
 		$alea_actuel = creer_uniqid();
 		$alea_futur = creer_uniqid();
-- 
GitLab