[freeside-commits] freeside/httemplate/edit/process cust_main_attach.cgi, 1.2, 1.3

Mark Wells mark at wavetail.420.am
Mon Nov 16 16:06:26 PST 2009


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv32088/httemplate/edit/process

Modified Files:
	cust_main_attach.cgi 
Log Message:
cust_attachment improvement, RT#4964 and #6225

Index: cust_main_attach.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main_attach.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cust_main_attach.cgi	10 Aug 2009 23:04:57 -0000	1.2
+++ cust_main_attach.cgi	17 Nov 2009 00:06:24 -0000	1.3
@@ -53,6 +53,7 @@
       ('_date', 'otaker', 'body', 'disabled');
     $new->filename($cgi->param('filename') || $old->filename);
     $new->mime_type($cgi->param('mime_type') || $old->mime_type);
+    $new->title($cgi->param('title'));
     if($delete and not $old->disabled) {
       $new->disabled(time);
     }
@@ -67,6 +68,7 @@
   if($filename) {
     $new->filename($filename);
     $new->mime_type($cgi->uploadInfo($filename)->{'Content-Type'});
+    $new->title($cgi->param('title'));
     
     local $/;
     my $fh = $cgi->upload('file');



More information about the freeside-commits mailing list