summaryrefslogtreecommitdiff
path: root/FS/FS/Record.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-05-17 13:22:37 -0700
committerIvan Kohler <ivan@freeside.biz>2013-05-17 13:22:37 -0700
commit67a2ec7e476c9a78092f451cc1d1f2e09ac39700 (patch)
tree8e95d05f1b5d75cec36f27bf97193d1e5a1b7116 /FS/FS/Record.pm
parenta1a1fbca688fda6c737bf016f6f3565b5192497b (diff)
history_user -> history_usernum
Diffstat (limited to 'FS/FS/Record.pm')
-rw-r--r--FS/FS/Record.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index 3886c33..cdbcae0 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -1907,10 +1907,10 @@ sub _h_statement {
my @values = map { _quote( $self->getfield($_), $self->table, $_) } @fields;
"INSERT INTO h_". $self->table. " ( ".
- join(', ', qw(history_date history_user history_action), @fields ).
+ join(', ', qw(history_date history_usernum history_action), @fields ).
") VALUES (".
join(', ', $time,
- dbh->quote( $FS::CurrentUser::CurrentUser->username ),
+ $FS::CurrentUser::CurrentUser->usernum,
dbh->quote($action),
@values
).