Don t mix && with and (#1825)
This commit is contained in:
parent
3e7f87eca6
commit
eda8151432
|
@ -451,7 +451,7 @@ sub updatePersistentSession {
|
|||
my ( $self, $req, $infos, $uid, $id ) = @_;
|
||||
|
||||
# Return if no infos to update
|
||||
return () unless ( ref $infos eq 'HASH' and %$infos && $self->conf->{enablePersistentStorage} );
|
||||
return () unless ( ref $infos eq 'HASH' and %$infos and $self->conf->{enablePersistentStorage} );
|
||||
|
||||
$uid ||= $req->{sessionInfo}->{ $self->conf->{whatToTrace} }
|
||||
|| $req->userData->{ $self->conf->{whatToTrace} };
|
||||
|
|
Loading…
Reference in New Issue
Block a user