Commit 1d6328bd authored by merlinofchaos's avatar merlinofchaos

Error with new validation code.

parent 9176d082
......@@ -103,7 +103,7 @@ function _views_get_tables($full = false) {
}
}
if ($data['list']) {
$data['value'] = array('#type' => 'select', '#options' => $data['list'], '#validate' => array('views_filter_validate_array' => $data['name']));
$data['value'] = array('#type' => 'select', '#options' => $data['list'], '#validate' => array('views_filter_validate_array' => array($data['name'])));
if ($data['list-type'] != 'select') {
$data['value']['#multiple'] = TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment