$request
variable. I'm sure I'm missing something very simple.The HTML from my template:
Code: Select all
<select name="group_membership[]" id="group_membership" multiple="multiple" size="10">
{% for group in GROUPS %}
<option value="{{ group.id }}">{{ group.name }}</option>
{% endfor %}
</select>
Code: Select all
$memberships = $request->variable( 'group_membership', '' );
var_dump( $memberships ); die();
var_dump()
is outputting.Code: Select all
/Users/danieltj/Local Sites/phpbb/app/public/ext/danieltj/extension/controller/acp.php:161:string '' (length=0)