projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import torrus 1.0.9
[freeside.git]
/
httemplate
/
edit
/
process
/
cust_main_attach.cgi
diff --git
a/httemplate/edit/process/cust_main_attach.cgi
b/httemplate/edit/process/cust_main_attach.cgi
index
0927141
..
2911357
100644
(file)
--- a/
httemplate/edit/process/cust_main_attach.cgi
+++ b/
httemplate/edit/process/cust_main_attach.cgi
@@
-25,8
+25,6
@@
$cgi->param('attachnum') =~ /^(\d*)$/
my $attachnum = $1;
my $curuser = $FS::CurrentUser::CurrentUser;
my $attachnum = $1;
my $curuser = $FS::CurrentUser::CurrentUser;
-my $otaker = $curuser->name;
-$otaker = $curuser->username if ($otaker eq "User, Legacy");
my $delete = $cgi->param('delete');
my $undelete = $cgi->param('undelete');
my $delete = $cgi->param('delete');
my $undelete = $cgi->param('undelete');
@@
-36,7
+34,7
@@
my $new = new FS::cust_attachment ( {
attachnum => $attachnum,
custnum => $custnum,
_date => time,
attachnum => $attachnum,
custnum => $custnum,
_date => time,
-
otaker => $otaker
,
+
usernum => $curuser->usernum
,
disabled => '',
});
my $old;
disabled => '',
});
my $old;