X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FPresenter%2FTag.pm;h=924ab8b574c38d0c0c872041c697bbb41ea2ca98;hb=1c9c1ad92b3558fbd11e2ebb0031da402d279537;hp=43591e5de342562a144934dcde930326032dd7a8;hpb=aec1ea5969912e120e8e3c13210d5918f14fbd89;p=kivitendo-erp.git diff --git a/SL/Presenter/Tag.pm b/SL/Presenter/Tag.pm index 43591e5de..924ab8b57 100644 --- a/SL/Presenter/Tag.pm +++ b/SL/Presenter/Tag.pm @@ -146,6 +146,10 @@ sub select_tag { my $list_to_code = sub { my ($sub_collection) = @_; + if ('ARRAY' ne ref $sub_collection) { + $sub_collection = [ $sub_collection ]; + } + my @options; foreach my $entry ( @{ $sub_collection } ) { my $value;