From 3c009d22e9c02fa929e147b592a74b37880f7c18 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 10 Apr 2004 20:09:57 +0000 Subject: [PATCH] Bug : invalid string make the pcmn_update fail --- html/pcmn_update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/pcmn_update.php b/html/pcmn_update.php index 05a6cbe14..0621c41f6 100644 --- a/html/pcmn_update.php +++ b/html/pcmn_update.php @@ -120,7 +120,7 @@ if ( isset ($_POST["update"] ) ) { echo_debug("name $name $element"); } $p_val=trim($_POST["p_val"]); - $p_lib=trim($_POST["p_name"]); + $p_lib=FormatString($_POST["p_name"]); $p_parent=trim($_POST["p_val_parent"]); $old_line=trim($_POST["p_old"]); echo_debug("Update old : $old_line News = $p_val $p_lib");