MINOR: files uploaded from forms should be hidden from the search engine
This commit is contained in:
parent
bb2ac5e137
commit
9020ce82d0
|
@ -680,6 +680,7 @@ JS
|
|||
// create the file from post data
|
||||
$upload = new Upload();
|
||||
$file = new File();
|
||||
$file->ShowInSearch = 0;
|
||||
|
||||
$upload->loadIntoFile($_FILES[$field->Name], $file);
|
||||
|
||||
|
|
Loading…
Reference in New Issue