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

Mark Wells mark at wavetail.420.am
Mon Nov 23 17:11:23 PST 2009


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	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.2.2.1
diff -u -d -r1.2 -r1.2.2.1
--- cust_main_attach.cgi	10 Aug 2009 23:04:57 -0000	1.2
+++ cust_main_attach.cgi	24 Nov 2009 01:11:21 -0000	1.2.2.1
@@ -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