aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/PopulateServiceList.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/Open311/PopulateServiceList.pm')
-rw-r--r--perllib/Open311/PopulateServiceList.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm
index 7c709babf..f5f117fb5 100644
--- a/perllib/Open311/PopulateServiceList.pm
+++ b/perllib/Open311/PopulateServiceList.pm
@@ -83,7 +83,7 @@ sub process_service {
my $service_name = $self->_normalize_service_name;
- unless ($self->_current_service->{service_code}) {
+ unless (defined $self->_current_service->{service_code}) {
warn "Service $service_name has no service code for body @{[$self->_current_body->id]}\n"
if $self->verbose >= 1;
return;