protected function request_vars($name, $default, $error = false)
{
$item = $this->request->variable($name, $default);
$items = $this->request->variable($name . 's', array($default));
if (count($items) == 1 && $items[0] == $default) {
$items = array();
}
if ($item != $default && !count($items)) {
$items[] = $item;
}
if ($error && !count($items)) {
trigger_error($this->user->lang['NO_MATCHING_STYLES_FOUND'] . adm_back_link($this->u_action), E_USER_WARNING);
}
return $items;
}