Fixed GUID string comparisons (eq instead of ==)
This commit is contained in:
parent
280e902c09
commit
f3c3bfb4dc
4 changed files with 4 additions and 4 deletions
|
|
@ -2217,7 +2217,7 @@ sub canTakeSurvey {
|
|||
my $userId = $self->session->user->userId();
|
||||
my $takenCount = 0;
|
||||
|
||||
if ( $userId == 1 ) {
|
||||
if ( $userId eq 1 ) {
|
||||
$takenCount = $self->takenCount( { ipAddress => $ip });
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue