Index: CHANGELOG.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/editview/CHANGELOG.txt,v
retrieving revision 1.1.2.3
diff -u -p -r1.1.2.3 CHANGELOG.txt
--- CHANGELOG.txt	4 May 2009 13:36:54 -0000	1.1.2.3
+++ CHANGELOG.txt	2 Jun 2009 21:00:01 -0000
@@ -1,5 +1,10 @@
 $Id: CHANGELOG.txt,v 1.1.2.3 2009/05/04 13:36:54 agileware Exp $
 
+Editview 6.x-1.x, xxxx-xx-xx
+----------------------------
+#480116 by Darren Oh: Fixed error in style plugin.
+
+
 Editview 6.x-1.0-beta1, 2009-05-04
 ----------------------------
 #170220 by Agileware: Added auto_nodetitle support.
Index: includes/editview.views.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/editview/includes/editview.views.inc,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 editview.views.inc
--- includes/editview.views.inc	4 May 2009 13:28:02 -0000	1.1.2.1
+++ includes/editview.views.inc	2 Jun 2009 21:00:01 -0000
@@ -37,6 +37,7 @@ function editview_views_plugins() {
         'theme file' => 'theme.inc',
         'base' => array('node'),
         'uses options' => TRUE,
+        'uses row plugin' => TRUE,
         'even empty' => TRUE,
         'type' => 'normal',
       ),
Index: includes/editview_plugin_style_node_add.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/editview/includes/editview_plugin_style_node_add.inc,v
retrieving revision 1.1
diff -u -p -r1.1 editview_plugin_style_node_add.inc
--- includes/editview_plugin_style_node_add.inc	17 Feb 2009 00:39:02 -0000	1.1
+++ includes/editview_plugin_style_node_add.inc	2 Jun 2009 21:00:01 -0000
@@ -21,6 +21,14 @@
  */
 class editview_plugin_style_node_add extends views_plugin_style {
   /**
+   * Implementation of init().
+   */
+  function init(&$view, &$display, $options = NULL) {
+    $display->handler->set_option('row_plugin', 'editview');
+    parent::init($view, $display, $options);
+  }
+
+  /**
    * Implementation of option_definition().
    */
   function option_definition() {
@@ -53,16 +61,6 @@ class editview_plugin_style_node_add ext
   }
 
   /**
-   * Implementation of uses_row_plugin().
-   *
-   * We want to hard-code the row plug-in, so we return TRUE here instead of
-   * specifying that we use a row plug-in in our style definition.
-   */
-  function uses_row_plugin() {
-    return TRUE;
-  }
-
-  /**
    * Implementation of render().
    *
    * Render the view with a new node form.
@@ -103,9 +101,6 @@ class editview_plugin_style_node_add ext
         array_push($this->view->result, $node);
       }
     }
-    // Initialize the Editview row plug-in.
-    $this->row_plugin = views_get_plugin('row', 'editview');
-    $this->row_plugin->init($this->view, $this->display);
     return parent::render();
   }
 }
