Password field - required DA update page - update blank
I found this string in another post.
<?php echo ((($_POST["UserPassword"] != ""))?WA_MD5Encryption($_POST["UserPassword"]):$row_WADAusers["UserPassword"]); ?>
I built the admin portion of the site in DA, added an update page, and now want to allow the admin to make other changes, but not require a password reset. Password should be MD5, and not required to submit the form, and not post a NULL entry on form submit.
Have I added this code wrong, or should it be updated?