Commit 1fdb77dc authored by merlinofchaos's avatar merlinofchaos
Browse files

Fix typo in views_add_field

parent e653c8b4
......@@ -1189,7 +1189,7 @@ function views_view_add_block(&$view, $title, $type, $nodes_per_block, $more, $u
* Add field info to a view.
*/
function views_view_add_field(&$view, $table, $field, $label, $sortable = FALSE, $default_sort = 0, $handler = '') {
$view->filter[] = array(
$view->field[] = array(
'tablename' => $table,
'field' => $field,
'label' => $label,
......
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