Index: views/web_widgets_plugin_display_web_widgets.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/web_widgets/views/web_widgets_plugin_display_web_widgets.inc,v
retrieving revision 1.1
diff -u -p -r1.1 web_widgets_plugin_display_web_widgets.inc
--- views/web_widgets_plugin_display_web_widgets.inc	24 Jun 2009 07:38:58 -0000	1.1
+++ views/web_widgets_plugin_display_web_widgets.inc	10 Jul 2009 08:14:59 -0000
@@ -255,7 +255,7 @@ class web_widgets_plugin_display_web_wid
   function attach_to($display_id) {
     $current_style = $this->get_option('embed_style');
     $current_style = empty($current_style) ? 'iframe' : $current_style;
-    $path = url($this->view->display[$this->display->id]->display_options['path'], array('absolute' => TRUE));
+    $path = url($this->view->get_url(NULL, $this->get_path()), array('absolute' => TRUE));
     $width = $this->get_option('width');
     $height = $this->get_option('height');
     $this->view->attachment_after .= web_widgets_render_embed_code($current_style, $path, $width, $height);
