projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RBC download script: option to avoid closing the batch, #35228
[freeside.git]
/
FS
/
FS
/
access_user_log.pm
diff --git
a/FS/FS/access_user_log.pm
b/FS/FS/access_user_log.pm
index
884d250
..
9e7f7a0
100644
(file)
--- a/
FS/FS/access_user_log.pm
+++ b/
FS/FS/access_user_log.pm
@@
-75,6
+75,8
@@
Adds a log entry for PATH for the current user and timestamp.
sub insert_new_path {
my( $class, $path ) = @_;
+ return '' unless defined $FS::CurrentUser::CurrentUser;
+
my $self = $class->new( {
'usernum' => $FS::CurrentUser::CurrentUser->usernum,
'path' => $path,