--- loncom/lonnet/perl/lonnet.pm 2010/11/11 21:57:35 1.1056.4.14 +++ loncom/lonnet/perl/lonnet.pm 2010/12/24 21:59:08 1.1056.4.15 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.1056.4.14 2010/11/11 21:57:35 raeburn Exp $ +# $Id: lonnet.pm,v 1.1056.4.15 2010/12/24 21:59:08 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2405,7 +2405,6 @@ sub userfileupload { $fname=&clean_filename($fname); # See if there is anything left unless ($fname) { return 'error: no uploaded file'; } - chop($env{'form.'.$formname}); # Files uploaded to help request form, or uploaded to "create course" page are handled differently if ((($formname eq 'screenshot') && ($subdir eq 'helprequests')) || (($formname eq 'coursecreatorxml') && ($subdir eq 'batchupload')) ||