diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2018-06-05 10:43:34 -0700 | 
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2018-06-05 10:43:34 -0700 | 
| commit | df0c7137ef880aedea912c8c735963f0261050d3 (patch) | |
| tree | 835a12121a69decd1e4322337d74ffbe0d0a0533 /FS | |
| parent | 690b42d0311236b1c07acb5bdbae32276e20e3b9 (diff) | |
fix/finish having history records show correct users for UI-triggered queue jobs on v3, RT#14829
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/Record.pm | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 851285283..9f9b1e2fc 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -2210,7 +2210,11 @@ sub _h_statement {    "INSERT INTO h_". $self->table. " ( ".        join(', ', qw(history_date history_user history_action), @fields ).      ") VALUES (". -      join(', ', $time, dbh->quote(getotaker()), dbh->quote($action), @values). +      join(', ', $time, +                 dbh->quote($FS::CurrentUser::CurrentUser->username), +                 dbh->quote($action), +                 @values +      ).      ")"    ;  } | 
