user web: fix PHP warning

This commit is contained in:
David Anderson 2015-08-19 21:00:51 -07:00
parent a3d9052448
commit 52a9a3e746
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ function validate() {
page_tail();
}
if ($_GET['validate']) {
if (get_str('validate', true)) {
validate();
} else {
send_validate_email();