Issues with file upload fields I'm working on a site where someone did a lot of security updates. After reviewing the site, we found a bug. When you try creating a node with a file upload, when you click the save button, instead of saving it actually downloads the file to your computer. I'm not really sure where to start looking for this issue.

Has anyone had this issue before?
I found the issue. I found this stuck in the node template:

&lt;?php if (!empty($node-&gt;field_white_paper_file['und'][0])){
  drupal_goto(file_create_url($node-&gt;field_white_paper_file['und'][0]['uri']));
 }?&gt;