user editor no longer sets login of current user to blank string on entry save

This commit is contained in:
Andrew Dolgov 2009-01-22 14:30:29 +01:00
parent d134e3a313
commit 34cd59a409

View file

@ -142,7 +142,11 @@
print "<input size=\"30\" style=\"font-size : 16px\"
onkeypress=\"return filterCR(event, userEditSave)\" $sel_disabled
name=\"login\" value=\"$login\">";
value=\"$login\">";
if ($sel_disabled) {
print "<input type=\"hidden\" name=\"login\" value=\"$login\">";
}
print "</div>";