--- loncom/lonnet/perl/lonnet.pm 2010/11/10 14:44:19 1.1093 +++ loncom/lonnet/perl/lonnet.pm 2010/11/27 16:55:57 1.1094 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.1093 2010/11/10 14:44:19 raeburn Exp $ +# $Id: lonnet.pm,v 1.1094 2010/11/27 16:55:57 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2381,7 +2381,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')) ||