Commit 171d0ad7 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1602492: Allow group csv upload display errors correctly



Allow it to work the same as htdocs/admin/users/uploadcsv.php where we
don't escape the output because we have already cleaned it and want
the <br> to work correctly

behatnotneeded

Change-Id: I9166b657646b46ce15dbafb8652ee4a2ae0e2e22
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 7c5263b5
......@@ -241,7 +241,7 @@ function uploadcsv_validate(Pieform $form, $values) {
}
if ($errors = $csverrors->process()) {
$form->set_error('file', clean_html($errors));
$form->set_error('file', clean_html($errors), false);
return;
}
......
......@@ -177,7 +177,7 @@ function uploadcsv_validate(Pieform $form, $values) {
}
if ($errors = $csverrors->process()) {
$form->set_error('file', clean_html($errors));
$form->set_error('file', clean_html($errors), false);
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment