summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/po.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index 12f41f6de..b9f59f3e8 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -533,7 +533,7 @@ sub formbuilder (@) {
next unless "$field" eq "type";
if ($field->type eq 'select') {
# remove po from the list of types
- my @types = grep { $_ ne 'po' } $field->options;
+ my @types = grep { $_->[0] ne 'po' } $field->options;
$field->options(\@types) if @types;
}
}