diff --git a/src/elogd.c b/src/elogd.c index 6a64b57b..1105eafc 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -9578,7 +9578,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL if (getcfg(lbs->name, "Write password", str, sizeof(str))) rsprintf("\n", str); - if (getcfg(lbs->name, "Password file", str, sizeof(str)) && isparam("unm") && isparam("uwpd")) { + if (getcfg(lbs->name, "Password file", str, sizeof(str)) && isparam("unm") && isparam("upwd")) { rsprintf("\n", getparam("unm")); rsprintf("\n", getparam("upwd")); }