Closes: #114 : Bad usage of Apache::Session::searchOn() on portal

This commit is contained in:
Xavier Guimard 2010-06-22 16:30:38 +00:00
parent 33699a6d40
commit 0e082b1d8f

View File

@ -1285,7 +1285,7 @@ sub removeOther {
if ( $self->{singleUserByIP} ) {
my $sessions =
$self->{globalStorage}->searchOn( $self->{globalStorageOptions},
$self->{ipAddr}, $ENV{REMOTE_ADDR} );
'ipAddr', $ENV{REMOTE_ADDR} );
foreach my $id ( keys %$sessions ) {
next if ( $current and $current eq $id );
my $h = $self->getApacheSession( $id, 1 ) or next;