summaryrefslogtreecommitdiff
path: root/lib/Multi
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-03-13 17:24:18 +0100
committerYorhel <git@yorhel.nl>2010-03-13 17:24:18 +0100
commit70f8d89d509a102e8af67d83b8b79b0c6f1b8317 (patch)
treea8fd5b2aa257ab57a387da1949ca78f56fd87498 /lib/Multi
parentb452d63346fd88b8bc3ec810e761c903cd504831 (diff)
Multi::API: Fixed a Perl warning on 'get vn' with the platforms array filter
Diffstat (limited to 'lib/Multi')
-rw-r--r--lib/Multi/API.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm
index 32d2361f..8d146d32 100644
--- a/lib/Multi/API.pm
+++ b/lib/Multi/API.pm
@@ -453,8 +453,8 @@ sub get_vn {
], [ 'platforms',
[ undef, "v.c_platforms :op: ''", {qw|= = != <>|} ],
[ str => 'v.c_platforms :op: :value:', {'=' => 'LIKE', '!=' => 'NOT LIKE'}, process => \'like' ],
- [ stra => '(:value:)', {'=', 1}, join => ' OR ', serialize => 'v.c_platforms LIKE :value:', \'like' ],
- [ stra => '(:value:)', {'!=',1}, join => ' AND ', serialize => 'v.c_platforms NOT LIKE :value:', \'like' ],
+ [ stra => '(:value:)', {'=', 1}, join => ' OR ', serialize => 'v.c_platforms LIKE :value:', process => \'like' ],
+ [ stra => '(:value:)', {'!=',1}, join => ' AND ', serialize => 'v.c_platforms NOT LIKE :value:', process => \'like' ],
], [ 'languages',
[ undef, "v.c_languages :op: '{}'", {qw|= = != <>|} ],
[ str => ':op: (v.c_languages && ARRAY[:value:]::language[])', {'=' => '', '!=' => 'NOT'} ],