Skip to content

Commit

Permalink
small bugfix to make logout work
Browse files Browse the repository at this point in the history
  • Loading branch information
tipaul committed Dec 20, 2002
1 parent 4844b4c commit d1a905a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opac/opac-logout.pl
Expand Up @@ -58,7 +58,8 @@
}
}

$dbh->do("delete from sessions where sessionID=?", $sessionID);
my $sth=$dbh->prepare("delete from sessions where sessionID=?");
$sth->execute($sessionID);
open L, ">>/tmp/sessionlog";
my $time=localtime(time());
printf L "%20s from %16s logged out at %30s (manual log out).\n", $userid, $ip, $time;
Expand Down

0 comments on commit d1a905a

Please sign in to comment.