Fixed GUID string comparisons (eq instead of ==)

This commit is contained in:
Patrick Donelan 2009-08-23 07:44:41 +00:00
parent 280e902c09
commit f3c3bfb4dc
4 changed files with 4 additions and 4 deletions

View file

@ -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 {