Skip to content

Commit

Permalink
prevented null values for empty uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
jadwigo committed Apr 30, 2015
1 parent bd097c9 commit 954e249
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ private function processForm($formconfig, $form, $formname)
else {
$data[$fieldname] = "Invalid upload, ignored ($originalname)";
}
} else {
$data[$fieldname] = "No file uploaded";
}
}

Expand Down

0 comments on commit 954e249

Please sign in to comment.