Updating previous commit

master
Nathan Adams 2016-10-01 22:56:18 -05:00
parent e398a3bbd6
commit ce03e17d58
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class IDF_Form_Upload extends Pluf_Form
}
foreach(explode(".", $this->cleaned_data["ext_file_name"]) as $section) {
if (!ctype_alpha($section)) {
if (!ctype_alnum(($section))) {
throw new Pluf_Form_Invalid(__("External file name must not contain characters other than a-zA-Z and ."));
}
}