projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix customer notes and attachments wrt s/otaker/usernum/ changes; still need to look...
[freeside.git]
/
httemplate
/
edit
/
process
/
cust_main_note.cgi
diff --git
a/httemplate/edit/process/cust_main_note.cgi
b/httemplate/edit/process/cust_main_note.cgi
index
5127c72
..
f09189a
100755
(executable)
--- a/
httemplate/edit/process/cust_main_note.cgi
+++ b/
httemplate/edit/process/cust_main_note.cgi
@@
-18,16
+18,12
@@
$cgi->param('notenum') =~ /^(\d*)$/
or die "Illegal notenum: ". $cgi->param('notenum');
my $notenum = $1;
or die "Illegal notenum: ". $cgi->param('notenum');
my $notenum = $1;
-my $otaker = $FS::CurrentUser::CurrentUser->name;
-$otaker = $FS::CurrentUser::CurrentUser->username
- if ($otaker eq "User, Legacy");
-
my $new = new FS::cust_main_note ( {
notenum => $notenum,
custnum => $custnum,
_date => time,
my $new = new FS::cust_main_note ( {
notenum => $notenum,
custnum => $custnum,
_date => time,
-
otaker => $otaker
,
- comments =>
$cgi->param('comment'
),
+
usernum => $FS::CurrentUser::CurrentUser->usernum
,
+ comments =>
scalar($cgi->param('comment')
),
} );
my $error;
} );
my $error;