X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/9b294beca7043c0fa5ae9c57d5766ce4e0d5aa65..d32410ac096b:/SL/Auth/SessionValue.pm diff --git a/SL/Auth/SessionValue.pm b/SL/Auth/SessionValue.pm index a3264e52d..0950a46b9 100644 --- a/SL/Auth/SessionValue.pm +++ b/SL/Auth/SessionValue.pm @@ -46,6 +46,7 @@ sub _fetch { my ($self) = @_; return $self if $self->{fetched}; + return $self if !$self->{auth}->session_tables_present; my $dbh = $self->{auth}->dbconnect; my $query = qq|SELECT sess_value FROM auth.session_content WHERE (session_id = ?) AND (sess_key = ?)|;