Adding Matrix tests
This commit is contained in:
parent
d4215ba769
commit
15b197976e
2 changed files with 20 additions and 10 deletions
|
|
@ -432,7 +432,7 @@ sub incrementCounter {
|
|||
|
||||
my $currentIp = $self->session->env->get("HTTP_X_FORWARDED_FOR");
|
||||
|
||||
unless ($self->get($counter."LastIp") eq $currentIp) {
|
||||
unless ($self->get($counter."LastIp") && ($self->get($counter."LastIp") eq $currentIp)) {
|
||||
$self->update({
|
||||
$counter."LastIp" => $currentIp,
|
||||
$counter => $self->get($counter)+1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue