Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Discogs Tagger $filter function (Read 856 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Discogs Tagger $filter function

I'm trying to use the $filter function of the discogs tagger 2.23 plugin

A single string as filter works fine:
$filter($array(foo,bar,blabla),foo) > bar; blabla

but when I try to use an array as filter:
$filter($array(foo,bar,blabla),$array(foo,notfoo))
I get this error:
[Error processing function $filter : Array parameter (2) is too deep.]

What am I doing wrong? The filter array is 1 deep, how can that be too deep?

 

Re: Discogs Tagger $filter function

Reply #1
It is the component documentation which is wrong.
It should be updated, $filter only supports depth 0 (as in your first example).