MINOR: files uploaded from forms should be hidden from the search engine

This commit is contained in:
Will Rossiter 2011-09-16 11:47:09 +12:00
parent bb2ac5e137
commit 9020ce82d0
1 changed files with 1 additions and 0 deletions

View File

@ -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);