Permalink
Browse files

forms: Fix fail getting value of password field

  • Loading branch information...
greezybacon committed May 31, 2015
1 parent 56cc709 commit 59337b32dd878794062895abf4a7558b6aaa0e32
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/class.forms.php
View
@@ -1794,7 +1794,7 @@ function parseValue() {
parent::parseValue();
// Show empty box unless failed POST
if ($_SERVER['REQUEST_METHOD'] != 'POST'
|| $this->field->getForm()->isValid())
|| !$this->field->getForm()->isValid())
$this->value = '';
}
}

0 comments on commit 59337b3

Please sign in to comment.