Index: clone.pages.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/node_clone/clone.pages.inc,v
retrieving revision 1.3
diff -u -F^f -r1.3 clone.pages.inc
--- clone.pages.inc	7 May 2008 02:28:58 -0000	1.3
+++ clone.pages.inc	10 Feb 2009 14:22:38 -0000
@@ -1,6 +1,18 @@
 <?php
 // $Id: clone.pages.inc,v 1.3 2008/05/07 02:28:58 pwolanin Exp $
-// $Name:  $
+// $Name: DRUPAL-6--1-0 $
+
+
+// Some modules store the file that is needed in an AHAH callback. For example
+// in the case of Hierarchical Select, the node form is rebuilt in an AHAH
+// callback, which obviously requires the node_form() function to be present.
+// Hierarchical Select knows which file is necessary by looking at the file
+// for the current menu item.
+// However, when the node form is presented through the Node Clone module, a
+// different file is used: clone.pages.inc. So in order to allow the function
+// for the node form to be found, we have to include the node.pages.inc file!
+require_once(drupal_get_path('module', 'node') . '/node.pages.inc');
+
 
 /**
  * Menu callback to configure module settings.
