summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2006-09-07 05:54:53 (GMT)
committer Earl Miles2006-09-07 05:54:53 (GMT)
commit1fdb77dc3879d8252cb8fa8f2bd2e52ea1b2a4ae (patch)
tree94db1691ea2fc5dd163d579e12a8d56a6b8560c1
parente653c8b4c340630a0dbb56141e5bbf0e8bdc8455 (diff)
Fix typo in views_add_field
-rw-r--r--views.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.module b/views.module
index d92c00a..4bedcfa 100644
--- a/views.module
+++ b/views.module
@@ -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,