Index: component.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/component/component.module,v retrieving revision 1.1.4.1 diff -u -r1.1.4.1 component.module --- component.module 2 Dec 2008 04:32:17 -0000 1.1.4.1 +++ component.module 4 Feb 2009 00:36:47 -0000 @@ -77,9 +77,12 @@ * The name of the view to display * @param $display * The name of the display on the specified view. +* @param ... +* Any additional parameters will be passed as arguments to the view. +* @see views_embed_view(). */ -function component_get_view($view_name, $display) { - return views_embed_view($view_name, $display); +function component_get_view() { + return call_user_func_array('views_embed_view', func_get_args()); } /**