fixed bug in Auth.pm where an array was used to send placeholders instead of arrayref

This commit is contained in:
Colin Kuskie 2006-11-10 16:32:19 +00:00
parent 848c4b6934
commit 9bef53dabf
2 changed files with 4 additions and 2 deletions

View file

@ -94,11 +94,11 @@ sub _isValidUsername {
sub _logLogin {
my $self = shift;
$self->session->db->write("insert into userLoginLog values (?,?,?,?,?)",
$_[0],
[ $_[0],
$_[1],
$self->session->datetime->time(),
$self->session->env->getIp,
$self->session->env->get("HTTP_USER_AGENT")
$self->session->env->get("HTTP_USER_AGENT") ]
);
}