After some thinking about it, I can't find why the type of a page being created
in the CGI could be restricted to po. So the previous case seems enough.
Signed-off-by: intrigeri <intrigeri@boum.org>
my @types = grep { $_ ne 'po' } $field->options;
$field->options(\@types) if @types;
}
- else {
- # make sure the default value is not po;
- # does this case actually happen?
- debug "po(formbuilder) ".gettext("type field is not selected - not implemented yet");
- }
}
}
}