diff options
Diffstat (limited to 'perllib/Open311')
-rw-r--r-- | perllib/Open311/PopulateServiceList.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm index 59148be7b..7b5f4c7fe 100644 --- a/perllib/Open311/PopulateServiceList.pm +++ b/perllib/Open311/PopulateServiceList.pm @@ -224,7 +224,11 @@ sub _add_meta_to_contact { @meta = grep { ! $ignore{ $_->{ code } } } @meta; } - $contact->extra( \@meta ); + if ( @meta ) { + $contact->extra( \@meta ); + } else { + $contact->extra( undef ); + } $contact->update; } |