From 93f877b70eaef259648dbc652cecaa1b12afbd0e Mon Sep 17 00:00:00 2001 From: Frank Fegert Date: Sun, 21 Jun 2009 21:37:40 +0000 Subject: [PATCH] - Fixed bug in Add/Edit servers, where the password field should remain plain text. --- admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin.php b/admin.php index a383e52..2f5d134 100644 --- a/admin.php +++ b/admin.php @@ -248,7 +248,7 @@ if ($_POST["css"] != "") { $_POST["txt".$col['Field']] = stripslashes($_POST["txt".$col['Field']]); } if ($col['Field'] != "id") { - if ($col['Field'] == "password") { + if ($col['Field'] == "password" && $tsmmonitor->GETVars['qq'] != 'servers') { if ($_POST["txt".$col['Field']] != "") { $val = md5($_POST["txt".$col['Field']]); } else {