projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a79f6e6
)
okay, so this should link to usernum now. but until then, it should be ->username...
author
ivan
<ivan>
Tue, 13 Mar 2007 09:21:35 +0000
(09:21 +0000)
committer
ivan
<ivan>
Tue, 13 Mar 2007 09:21:35 +0000
(09:21 +0000)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
b2ef2a2
..
3e36ae2
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-1529,9
+1529,7
@@
sub order {
sub insert_reason {
my ($self, %options) = @_;
- my $otaker = $FS::CurrentUser::CurrentUser->name;
- $otaker = $FS::CurrentUser::CurrentUser->username
- if (($otaker) eq "User, Legacy");
+ my $otaker = $FS::CurrentUser::CurrentUser->username;
my $cust_pkg_reason =
new FS::cust_pkg_reason({ 'pkgnum' => $self->pkgnum,